i was successful in converting a tuya switch to Sonoff-Tasmota using tuya convert.
I got the switch up and running. now the problem is i cant get the switch to turn off thru hassio. i think i may be missing something in my config file.
so from the HA i can manually switch the light on then when i try to turn it off it wont work. i have to physically press the switch on the wall to turn it off.
from the config console of the sonoff switch i can toggle it on/off
this is what have configured so far.
toggle from HA
04:04:06 MQT: stat/side_porch_light/RESULT = {“POWER”:“ON”}
04:04:06 MQT: stat/side_porch_light/POWER = ON
toggle from sonoff console
04:02:25 MQT: stat/side_porch_light/RESULT = {“POWER”:“OFF”}
04:02:25 MQT: stat/side_porch_light/POWER = OFF
switch:
- platform: mqtt
name: “Side Porch Light”
state_topic: “tele/side_porch_light/STATE”
command_topic: “cmnd/side_porch_light/POWER”
qos: 1
payload_on: “ON”
payload_off: “OFF”
payload_available: “Online”
payload_not_available: “Offline”
retain: false