04-19-2024 04:55 AM - edited 04-19-2024 04:57 AM
Hello Nest Community,
I really love the script editor, but I recently encountered an issue where a Condition is not working with Philips hue lights.
I tried to setup an automation to change my lights at a certain time, with the action depending on wether the lights are on or off.
For this I am using the newest Philips Hue Color Bulbs.
But after further testing it seemed to me as if the Condition "device.state.OnOff" "is:on" is always "true", no matter if the light is on or off.
I wrote a test script for further insight, which should always turn the light red, with the condition that "device.state.OnOff" "is:on" is "true"; and should always turn the light blue, with the condition that "device.state.OnOff" "is:on" is "false.
The light always ended up red, even if it was off before.
Then I tested the same with the "device.state.Brightness" Condition, where it always seemed, that the brightness is set to 100% for the condition, no matter what the brightness actually was.
I figure the condition should be working properly since it is used in "official" example scripts:
Is this a common or even known issue?
I would very much appreciate if someone could share more knowledge on this or maybe just try it themselves.
Also ideas to fix this or good work arounds would be perfect.
Thanks in advance and a good day to everyone!
Slight
04-27-2024 11:26 AM
As of a few days ago, it seems to be fixed. Maybe I did something wrong in all my testing, but the exact same thing now works about 95% of the time.
Assuming it actually got fixed, thanks for the support!