Hi,
I have a fan controller (flashed with Tasmota on tuyo mcu).
It has a touch button to On/Off power and two buttons to increase/ reduce fan speed.
The dimmer gives the below MQTT state
1. DIMMER = {"POWER2":"ON","Dimmer":92}
2. POWER2 = OFF
The problem is the DIMMER also has POWER on/off function (if I dim to the lowest), besides the separate Power On/off button.
But when I Power On/Off using the separate button, the MQTT state of the POWER in Dimmer stills remains ON (as you can see in the upper example). The similar happens when the POWER state of the dimmer changes, it does not sync with the separate Power button state.