nilsreiter / home-assistant-scenes

Nice, Hue-inspired scenes for Home Assistant
29 stars 3 forks source link

Lights being filtered out #9

Closed Glennmen closed 1 month ago

Glennmen commented 1 month ago

After playing around with the script I noticed it wasn't triggering some of my lights, after investing some time debugging my lights and area setup I went through the code of the script and noticed that it filtered out lights that don't have colormode xy or rgb.

These lights only have colormode color_temp I adjusted the script to not filter them out and it seems to be working fine. Of course some scenes might look "weird" but if you use the "Default" scene set it should work perfectly.

Not sure if it was filtered out intentionally or not.

nilsreiter commented 1 month ago

My understanding of color_temp was that it doesn't support colors, so it didn't make sense to me to include those. But you're right, with the default scenes, it makes sense to include them.

nilsreiter commented 1 month ago

This is now integrated in 3.1.