Sometime last night my scenes all stopped working correctly. I didn’t make any updates at this time, so not sure why it suddenly changed.
The issue is that my Scenes no longer correctly apply color. Activating a scene will update the brightness of the bulbs, but the color will remain whatever the lights are currently on. The color does not seem to be properly saved. Here is a quick video demonstrating the issue.
More info: I’m on the latest HAOS 2024.7.3 version. I have Philips Hue bulbs integrated via a Hue Bridge through the official Philips Hue integration.
Exact same here. The lights change color when adjusted manually so it must be something specific to the way scenes work. Latest hue bridge firmware 1.65.1965111030 was July 18 so I don’t think that triggered it.
Hmm, I went ahead and tried the workaround listed (all in one shot, see below) and the effect: None lines were successfully removed, but it didn’t change any of the behavior for me unfortunately.
Using the terminal:
cd config
cp scenes.yaml scenes.yaml.backup
sed -e s/"effect: None"//g -i scenes.yaml
grep "effect: None" scenes.yaml
It doesn’t seem like this bug is a big deal to most people - are people just not using scenes much?
Just curious. It’s such a big bug for me that I’m spending a big part of my time converting (rewriting) my scenes into scripts that set the RGB + brightness values for my lamps, and then updating the automations that call these scripts instead of activating scenes.
Works great, is reliable, but is a bit unfortunate since I have to manually copy RGB values from either the developer’s console after activating a scene, or from the scenes.yaml file itself.
Thinking about writing a python parser to convert the scenes into script automagically but not quite sure yet.
Can also confirm that finding all effect: None elements in scenes.yaml and replacing with an empty string fixed the scenes not changing my bulbs’ colours.
I was able to use the File Editor addon rather than opening in Studio Code as well. Simple enough fix, but finding this thread wasn’t easy.
In the github thread it seems like hue bridge update caused it. I think that’s true, because my HA version is still 2024.3 and i haven’t updated anything manually. The issue is that my scenes are dynamic and created on the fly and i didn’t find any information how to unset the “effects” with such method. I guess i’ll have to monitor what’s the solution with the hue hub will be…
I have this issue too. I’m all up-to-date. I’ll have to try editing this effect thing mentioned. I’m also using a hue bridge though as someone else mentioned. I didn’t think it was because of that though as the colours actually recorded in my scenes seem to get changed as well.
I tried the effects: none removal workaround, and it didn’t work.
I save the scene with all the light colors, then open scenes.yaml with the File Editor, and replace all instances of “effects: none” with a blank line.
Go back to the scenes window, and activate a different scene, and then activate the scene I had just saved, and none of the colors are set correctly.
You may need to restart home assistant after editing the scenes.yaml. It seemed to not work for me sometimes if I didn’t restart. Just double check scenes.yaml after restarting that the changes were saved.
Also, keep in mind that anytime you edit the scene in the UI, it will automatically re-add the effects: None line and you’ll have to remove it again. So avoid using the scenes editor after applying the fix.
Revisiting this thread out of curiosity - doesn’t this seem like a bug? Does anyone know how to report it so the devs know about it?
I myself moved away from scenes to only scripts and it’s working great for me. I don’t anticipate the scripting engine breaking anytime soon so I think I’ll be OK with doing things this way.
I’m having the same issue. I’m creating a scene within an automation, to restore the light setting before the automation was applied. It doesn’t work whatever I tried, just as you described here. One thing is, that the brightness seems to be adjusted but nothing more, the color is not changing. Can Home Assistant developers do anything?
If you use the file editor in home assistant. Just search for any “effect:” instances. Delete the whole line, save and restart home assistant. I think you can just remove the “None” part from what people have said but I just deleted the whole line.
I’m not sure if here is something wrong with the search though in file editor as I did this once but somehow a few effects ended up back in there. Had to do it again. Although, I expect I did something wrong.