-
Notifications
You must be signed in to change notification settings - Fork 6
Dimmer doesn't turn off completely with version 2021.9? #9
Comments
Same problem here |
The issue seems to be related to this commit esphome/esphome#2320 |
I have the same problem. |
It's strange though since the log clearly states that we sending zero brightness into |
Fixes this issue JeffResc#9 by actually turning the light off when brightness reaches zero. Also removes some unnecessary serial writes by updating the lastBinary and lastBrightness variables.
I think I fixed the problem (works for me™), made a pull request for it here #10 |
Now it turns off completely, yes, but now there's another problem: when light is off then ESPHome doesn't "see" that and continously thinks that it's on. Condition
always returns false ("ON"), even when light is off. so now i can't turn off light with button, connected to ESPHome (directly, not via HA). |
@Protoncek indeed, seems that the off-state is not updated when turning off due to zero brightness. I tried adding |
Well, at least i’m glad that you also found the problem and it’s not just me… |
Another day, another problem...
Today i updated my dimmer with latest version of ESPHome (2021.9.1) program and now dimmer doesn't turn off at all - it stays at appr. 1% no matter what i do. If i turn on/off with button (on gpio4) brightness changes just a tiny bit - like, say from 1% to 0.8% - i can see tiny difference, but won't turn off. Via HA command it goes to any percentage i have it set, but again, it won't go off, but it stays at just under 1%.
ESPHome log however nicely says that it went down to zero. Just it's not true...
Going back to 2021.8.2 solves the problem. Absolutely NO changes made in program...
Now i managed to go back to 2021.8.2 and it works again - luckily i have a parallel "test" installation...
Any clues?
The text was updated successfully, but these errors were encountered: