Support for multi-color lights

Some lights are multi-color lights, meaning they can emit multiple colors at the same time, typically in the gradient format.

Philips Hue Signe Table is one of them, with support for up to 5 lights.

It would be awesome if we could support multiple light values for one entity.

Problem arises mainly when you want to use such light in the HA scene. In some ecosystems, such as zigbee2mqtt, it is possible to set the gradient “scene” as separate entity. This entity can be put in the scene which works fine.

But as soon as you want to turn on the light, you have to add the actual light.my_light in the scene too, to turn it on and set the brightness. As soon as you do that, when scene is applied, it will use the color from the light.my_light and will override the value from another entity, that is in charge of setting the light’s gradient scene.

They are composed of Red, Green, and Blue LEDs (and sometime White, Warm White, and/or Cool White).

Home assistant can already control all of these.

Also what does this mean?

You can use:
RGB, HSL, or XY colour control.

Nono, I didnt mean that. I understand what you mean here.

I have a lamp that is 1m long, and it supports 5 separate sections. I can set different color for each of the 5 sections.

Here is the example, with 3 sections. Light accepts 3 colors and then it is smart enough to apply the gradient inside the light chip itself.

image

Oh you want an addressable LED strip gradient effect.

Kind of.

Please also see this post. My request is driven due to the “issue” I have in the post here: Scene editor: Light capture only state and brightness

Not exactly a solution, but if you use scripts rather than scenes, would that help? With light.turn_on you can select which properties to set and which to omit.

Create the scene in YAML rather than using the UI editor. This will only apply the settings you define.

The UI editor is easy but it’s a bit like using a shotgun to kill flies, not very discriminate.

Personally I’m with Edwin though. I don’t use scenes any more, just scripts. Much more powerful. You have full control over the services rather than specifying a state and hoping the scene selects the right service for you.

YAML: This is what I’m doing now. Works for now.

Scripts: Not yet - will likely have to move then.