Scene UI editor: Add option to only set light state to on/off. #21434
Unanswered
2spiritpenguin
asked this question in
Automations / scripts / scenes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A copy from here.
Some Hue lights, connected via Z2M ecosystem, support gradient scenes, that can be applied to the light during HA scene activation. One of these lights would be Philips Hue Signe with up to 5 colors gradient.
Such lights expose the
light.x
andselect.x
entities to the HA, whereselect.x
entity allows you to select and apply the gradient scenes. When applying theselect.x
scene to the light, light won't be turned on automatically, so if we only add this entity to the HA scene, light won't go on. But if the light was on while scene was applied, indeed the correct colors will appear (according to the gradient scene selected in theselect.x
entity)To have full functionality, we also need to add the
light.x
entity for the same light to the scene, that will turn the light on, but when we do that, HA scenes editor will popup ALL the light options to the scene config. When we apply the scene later, Hue won't takeselect.x
gradient scene into consideration, but rather single color fromlight.x
config, which was picked up by HA during scene creation in the UI.A request is to allow HA scene editor, to only set the
on/off
state for thelight.x
entity, without adding all the color configs to the yaml file.Currently we must exclusively use YAML editor to manually remove all other options from the
light.x
and only keep thestate: on
there. If we later want to update some colors for other lights in the scene UI, all the entities are populated again with the full configs, destroying our yaml manual work.This is what I want (see
light.hue_light_office_gradient_left
part):This is what I get from UI editor:
Beta Was this translation helpful? Give feedback.
All reactions