Hello.
I have a tasmota device to open a door. It publishes the messages via mqtt:
22:57:00.234 MQT: stat/tasmota_CC8EED/RESULT = {"POWER1":"ON"}
22:57:00.237 MQT: stat/tasmota_CC8EED/POWER1 = ON (retained)
22:57:03.295 MQT: stat/tasmota_CC8EED/RESULT = {"POWER1":"OFF"}
22:57:03.298 MQT: stat/tasmota_CC8EED/POWER1 = OFF (retained)
And I have configured the switch in yaml like this:
Clicking the switch is working fine. But the state is not.
The tasmota is turning off the switch after 3 seconds by itself and I would assume the HA switch is knowing that. But that action is not getting to the switch in home assistant. The tasmota is off and the topic should be posted as seen in log above.
But the home assistant switch stays on.
What is going wrong here?