Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Send "turn on" for light when setting the gradient scene #23546

Open
MaJerle opened this issue Aug 7, 2024 · 1 comment
Open
Labels
feature request Feature request

Comments

@MaJerle
Copy link

MaJerle commented Aug 7, 2024

Is your feature request related to a problem? Please describe

Some lights offer gradient scene. This scene is exposed to Home Assistant as its own entity.

Problem is that when you would like to use the gradient in the HA scene, you cannot do that because you have to put gradient scene AND light itself to the scene.

  • gradient scene entity: To set the scene
  • light entity: To turn the light on

Problem is that when you do so, light entity will also set the default light color, thus override the gradient scene. If you only add the gradient scene, and light is off, it won't get turned on.

Describe the solution you'd like

Proposal is to add a new feature in the configuration.yaml file, where user could specify that "light.turn_on" should be executed as soon as any command to the light is sent, for instance when color RGB, color HS, brightness, gradient, or anything else is sent.

Describe alternatives you've considered

I tried creating new HA scene by:

  • Using the light's gradient scene entity in the scene
  • Using the light entity, and manually edit the scene in the yaml, to only send turn_on, without setting any color.

It sometimes work, and sometimes not.

Additional context

For instance, in the Z2M, Exposed tab shows several options for Hue light, for instance: state, brightness, color temp, gradient scene and effect.

The only way to turn the light on is to:

  • manually control the state
  • controlling the brightness slider

If you click on the Color only, and light is off, it won't get turned on automatically.
Same is if you apply gradient scene, which is annoying to set the scene config from inside the HA.

Example of lights:

@MaJerle MaJerle added the feature request Feature request label Aug 7, 2024
@MaJerle
Copy link
Author

MaJerle commented Aug 7, 2024

An example of exposure for Signe lamp inside Z2M:
image

Changing the gradient should turn on the light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

1 participant