I'm trying to set the color of my office light fixture with 5 Hue bulbs based on time of day. Rules for if the light is on and it changes over from Day to Evening or Evening to Night that the color temperature will change, but I'm trying to get it to turn on to a certain color temp depending on time.
Here's what I'm working with so far. If I run actions it works but won't work when I turn on the lights.
If the hue bulbs are paired to HE and are all on the same fixture I'd change your trigger from ALL to ANY. It is unlikely that ALL the lights will come on (and report on) at precisely the same time. And I would add a delay to allow all the lights to come fully on and be ready to take commands.
If the hue bulbs are paired to a Hue hub using the stock integration, you'll pretty much always see a delay since the integration polls the Hue hub, the Hue hub does not push an event. CoCoHue has the option with newer Hue firmware to do it a bit differently.
You might also consider replacing that dump switch with a smart-bulb-aware smart switch.
Also... what happens if the switch gets turned on when the required expression is false? The bulbs will come on with whatever previous color they were set to - in other words you may never see them change once they're set to 5k.
Thanks for the reply. I have similar rules for Evening and Night, so based on time, one of the three is always true. I'll switch them from all to any. The bulbs are paired to the Hue hub.
I've thought about changing out the switch but brown/bronze smart switches are fairly difficult to come by and I really haven't put much effort into searching for one.
Leather-bound books and rich mahogany would not lend themselves to a white switch, I agree.
Here's the gotcha. The standard Hue integration only polls the Hue hub every minute. So you could end up with a situation where you turn on the light and a minute later the color changes.