SmartHome-yourself / sonoff-tx-ultimate-for-esphome

ESPHome Custom Component for Sonoff TX Ultimate
https://smarthomeyourself.de/sonoff-tx-ultimate-mit-esphome-custom-component/
MIT License
96 stars 44 forks source link

nightlight cannot be turned off #41

Open Delphius7 opened 4 months ago

Delphius7 commented 4 months ago

First of all thanks for your great work. I bought 8 switches after I found your integration and I am very happy with them.

However I have one issue with nightlight: Generally I have nightlight turned off in my yaml code (nightlight: "off") and control the nightlight via home assistant automations. So the nightlight is tuned on and off at a certain times or events. However turning off e.g. in the morning fails regularly. In HA the switch shows off but some of the switches still have the nightlight on. Sometimes 5 of 5 fail and sometimes only 2 of 5. I am not able to find any correlation. Also switching the nightlight on/off in HA does not fix this, the nightlight stays on. A reboot of the switch makes them controllable again.

Do you guys have any idea what could be the issue?

Thanks in advance!