Cannot turn off the light
H0nzik1 opened this issue · comments
When I click to turn off the light it gets back on again and again. Can you fix it? Your widget is useless now. Latest version.
EDIT: I does not turn off when I have same widget opened also on another device (wall mounted tablet)
EDIT2: It does not turn off when persist features is enabled, when I disable persist features, then I can turn off light normaly. Seems when is this card visible on multiple devices simultaneously with persist features enabled then light cannot be turned off.
I have a similar problem, and after looking at my esphome logs, I fixed it by un-checking the "show effects list" option in the configuration UI. My two cents...
have the same problem. and already have a ticket open at Tasmota. here it was recognized that it is because of this card.
it works fine with hue lights. i dont have Tasmota to test. looking at the HA websocket connection, everything looks good.
"domain":"light","service":"turn_off"
is called on turn off and "domain":"light","service":"turn_on"
is called on turn on
@ljmerza In the Tasmota issue, the light-entity-card
actively turns the Tasmota light back on when its state changes to off
.
I imagine a hue light will react in the same way?
The logic to send devices is pretty basic: Clicking the toggle in the card will trigger the relevant turn on/off service. There's no logic to trigger anything other wise.
Considering I don't see this behavior happening on any other integration, I'm inclined to think it's a tasmota issue.
Are you seeing this bug in the websocket messages? I've checked and it works properly.
I also have the same issue with ESP-Home RGB lights.
I get the following error when turning off the light in my ESP Logs:
[11:37:36][W][light:475]: 'Bedside Lamp xxx RGBWW Light' - No such effect ''
Update: I think there is a bug with v[5.0.0] it must be applying an effect along with the colour picker that is putting the light in an unknown state. When the effect list is hidden there is no issue.
Happy to provide my logs. How do I extract the web socket log ?
Having the same issue. After setting "effects_list" to false it works. If I enable that feature the light starts to turn off but within less a second it is at the original brightness again.
i couldnt reproduce but i tried a possible fix in v6.0.7