I have a working configuration for H801 using Tasmota and it can dimmer the lights. But when I call a script or automation like below, it receives 0,0,0,0,10 but afterwards receives an 0,0,0,0,255. I don’t understand why this happens. And if I call the script again, then it goes to 0,0,0,0,10 that was the expected behavior in the first place. Anyone knows how to fix this?
Script example:
sequence:
- service: light.turn_on
data:
entity_id: light.h801_1
brightness: 10
From the console:
20:25:53 MQT: stat/h801_1/POWER = OFF
20:26:17 MQT: tele/h801_1/STATE = {"Time":"2019-08-17T20:26:17","Uptime":"29T23:34:31","Vcc":3.438,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":999,"POWER":"ON","Dimmer":4,"Color":"0,0,0,0,10","HSBColor":"0,0,0","Channel":[0,0,0,0,3],"CT":500,"Scheme":0,"Fade":"ON","Speed":6,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"TARUGO","BSSId":"E4:F4:C6:02:42:82","Channel":6,"RSSI":100,"LinkCount":5,"Downtime":"4T19:54:12"}}
20:26:17 MQT: stat/h801_1/RESULT = {"POWER":"ON","Dimmer":4,"Color":"0,0,0,0,10","HSBColor":"0,0,0","Channel":[0,0,0,0,3],"CT":500}
20:26:18 MQT: tele/h801_1/STATE = {"Time":"2019-08-17T20:26:18","Uptime":"29T23:34:32","Vcc":3.438,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":999,"POWER":"ON","Dimmer":100,"Color":"0,0,0,0,255","HSBColor":"0,0,0","Channel":[0,0,0,0,100],"CT":500,"Scheme":0,"Fade":"ON","Speed":6,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"TARUGO","BSSId":"E4:F4:C6:02:42:82","Channel":6,"RSSI":100,"LinkCount":5,"Downtime":"4T19:54:12"}}
20:26:18 MQT: stat/h801_1/RESULT = {"POWER":"ON","Dimmer":100,"Color":"0,0,0,0,255","HSBColor":"0,0,0","Channel":[0,0,0,0,100],"CT":500}
20:26:18 MQT: tele/h801_1/STATE = {"Time":"2019-08-17T20:26:18","Uptime":"29T23:34:32","Vcc":3.438,"SleepMode":"Dynamic","Sleep":0,"LoadAvg":1000,"POWER":"ON","Dimmer":100,"Color":"0,0,0,0,255","HSBColor":"0,0,0","Channel":[0,0,0,0,100],"CT":500,"Scheme":0,"Fade":"ON","Speed":6,"LedTable":"OFF","Wifi":{"AP":1,"SSId":"TARUGO","BSSId":"E4:F4:C6:02:42:82","Channel":6,"RSSI":100,"LinkCount":5,"Downtime":"4T19:54:12"}}
20:26:18 MQT: stat/h801_1/RESULT = {"POWER":"ON","Dimmer":100,"Color":"0,0,0,0,255","HSBColor":"0,0,0","Channel":[0,0,0,0,100],"CT":500}