Been dabbling with HA for a few weeks now and for the most part have things working as expected, however I have a niggling issue with scenes.
Now my understanding of the creation of a scene is to set the bulb(s) as you desire and then create the scene by adding the required bulb(s) and saving the scene.
My issue is whenever I run that scene manually or from an automation the colour is never correct although I did find if I kept running the scene it eventually got to the colour I wanted.
In my testing I’ve been focused on turning an Innr bulb joined to the Hue Hub to Blue with a brightness of 1%.
The following is what has been saved within scenes.yaml
So the only things you would want to define in this scene are state, brightness or brightness_pct and one of hs_color, rgb_color, and xy_color. Remove everything else.
hs_color, rgb_color, and xy_color are three different ways of setting the color, so you should only use one.
Think you missed that part I don’t think that would actually affect things, but I also don’t use scenes (I just use scripts).
On another note, you might be better off defining scenes with the Hue app and calling them with a hue.hue_activate_scene service call. The Hue app makes it easy to create Hue scenes.
I have considered utilising the hue scenes as I’ve some already setup as I’ve had Hue for a little while.
I am about to flash a Sonoff zigbee bridge for use with HA and will add a bulb or two to that to see how things work.
With the Hue hub I have some Innr bulbs added and while they work when they’re in a group of say 8 lights which I have in the kitchen they don’t always respond so 6 will dim and the other 2 won’t so you have to wait for a bit for Hue to realise the change didn’t happen then run a scene again.
I will test a few other scenes and let you know how they go.
The use of a ZigBee group (a.k.a. Hue group) might correct the problem you described (“6 will dim and the other 2 won’t”).
When Home Assistant activates a scene or group, it sends separate commands to each member of the scene/group. For your 8 lights, that’s 8 separate streams of communications. That’s a fair bit of traffic and you may get ‘popcorn effect’ (lights turn on in sequence as opposed to simultaneously) or (worst case) some may fail to receive the command.
If you create a ZigBee/hue group, only one command is needed to activate (or deactivate) it. In other words, a single command is broadcasted and all 8 lights receive it simultaneously. The ‘popcorn effect’ is far less likely to occur and there’s a better chance of all lights receiving the command (i.e. far less network traffic).
The issue I have with a number of lights was before using HA.
So within the Hue app if I run a scene say “concentrate” sometimes only some of the bulbs respond.
These are Innr GU10 bulbs and I find the same thing happens with Innr candle lights that I have in the hallway and on the landing.
Hue bulbs never miss a beat and always respond first time.
I do want to see how these Innr bulbs perform when connecting to a Zigbee bridge direct into HA, if they work better I will then need to create/run scenes only in HA.
I would also then look at how well the Hue bulbs and switches work on the Zigbee bridge.