The last time I configured my Tasmota Sonoff devices with Home Assistant was over a year ago using YAML. Now I started fresh and trying to use the new integration option, but I seem to be missing something. Mainly, When I toggle the device state via home assistant it doesn’t work, but it does show the correct state of Sonoff.
- When I toggle device to off on Sonoff switch, it works fine, and here are the messages in MQTT:
-
Message 14 received on tasmota/discovery/sf-switch2/POWER at 9:19 AM: OFF
-
Message 13 received on tasmota/discovery/sf-switch2/RESULT at 9:19 AM: { "POWER": "OFF" }
- When I toggle device to off via Home Assistant, it just goes back to On without changing the switch. Here are the messages I see being sent via MQTT:
Message 29 received on tasmota/discovery/sf-switch2/Power1 at 9:21 AM: OFF
It looks like it’s sending the state to the Power1 topic instead of the Power and that is not getting picked up by the Tasmota/Sonoff device. How would I change this so that my sonoff switch entity sends the command to “Power”?