1. Install latest Tasmota 2. Issue command ```console TuyaMCU 12,102 ``` 3. Set up rule ```console Rule1 on TuyaReceived#Data=55AA00070005020400010012 do publish2 stat/flatbedfan/speed 2,0 endon on TuyaReceived#Data=55AA00070005020400010113 do publish2 stat/flatbedfan/speed 2,1 endon on TuyaReceived#Data=55AA00070005020400010214 do publish2 stat/flatbedfan/speed 2,2 endon ``` Enable rule with `Rule1 1`
4. Add the following to Home Assistant to your `fan` section