Sorry, I didn’t mention it. I use the build in mqtt-broker. I think it is not possible to configure this mqtt-broker in configuration.yaml.
What I meanwhile found out is, it’s possible that the sensor state is not in default topic/state included:
11:43:52 MQT: tele/sonoff-garage-2/STATE = {“Time”:“2020-04-13T11:43:52”,“Uptime”:“0T02:05:34”,“UptimeSec”:7534,“Heap”:26,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:19,“MqttCount”:3,“POWER”:“OFF”,“Wifi”:{“AP”:1,“SSId”:“xxxxxxxxx”,“BSSId”:“xxxxxxxxxxxx”,“Channel”:11,“RSSI”:60,“Signal”:-70,“LinkCount”:1,“Downtime”:“0T00:00:06”}}
11:43:52 MQT: tele/sonoff-garage-2/HASS_STATE = {“Version”:“8.2.0(tasmota)”,“BuildDateTime”:“2020.03.20 14:54:51”,“Core”:“STAGE”,“SDK”:“2.2.2-dev(38a443e)”,“Module”:“Sonoff Basic”,“RestartReason”:“Software/System restart”,“Uptime”:“0T02:05:34”,“WiFi LinkCount”:1,“WiFi Downtime”:“0T00:00:06”,“MqttCount”:3,“BootCount”:33,“SaveCount”:71,“IPAddress”:“xxxxxxxxxxx”,“RSSI”:“60”,“LoadAvg”:19}
11:43:52 MQT: stat/sonoff-garage-2/RESULT = “Version”:“8.2.0(tasmota)”,“BuildDateTime”:“2020.03.20 14:54:51”,“Core”:“STAGE”,“SDK”:“2.2.2-dev(38a443e)”,“Module”:“Sonoff Basic”,“RestartReason”:“Software/System restart”,“Uptime”:“0T02:05:34”,“WiFi LinkCount”:1,“WiFi Downtime”:“0T00:00:06”,“MqttCount”:3,“BootCount”:33,“SaveCount”:71,“IPAddress”:“xxxxxxxxxx”,“RSSI”:“60”,“LoadAvg”:19}
hmmm… how can I get the GPIO 14 Sensor (Switch1) into the default state message?
Has maybe changed in Tasmota…