The toggle function produces unpredictable results. I have several hue lights in a room and have a switch set up to toggle the lights on/off. Sometimes the lights don't change state, sometimes only certain lights change state, and sometimes they all change as expected. In all cases, I can see the log has registered the button press. Triggering a lights off or lights on event seems to elicit more reliable toggling behavior. I presume that the helper variable is not being set correctly with the toggle.
Trigger the On Button Short Press which is set to toggle lights
Expected behavior
If lights are on, they should turn off, and vice versa
Actual Behaviour
Unpredictable
Sometimes the lights don't change state, sometimes only certain lights change state, and sometimes they all change as expected. In all cases, I can see the log has registered the button press. Triggering a lights off or lights on event seems to elicit more reliable toggling behavior.
Additional Details
[ ] I'd like to help developing a fix for this issue.
Blueprint name
philips_324131092621
Home Assistant Core Version
2024.3.0
Home Assistant Installation Type
Home Assistant Supervised
Description
The toggle function produces unpredictable results. I have several hue lights in a room and have a switch set up to toggle the lights on/off. Sometimes the lights don't change state, sometimes only certain lights change state, and sometimes they all change as expected. In all cases, I can see the log has registered the button press. Triggering a lights off or lights on event seems to elicit more reliable toggling behavior. I presume that the helper variable is not being set correctly with the toggle.
Automation YAML config
To Reproduce
Expected behavior
If lights are on, they should turn off, and vice versa
Actual Behaviour
Unpredictable
Sometimes the lights don't change state, sometimes only certain lights change state, and sometimes they all change as expected. In all cases, I can see the log has registered the button press. Triggering a lights off or lights on event seems to elicit more reliable toggling behavior.
Additional Details
Screenshots
No response
Additional context
No response