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

manual_control attribute not restored by scene #1050

Open
FireFury0 opened this issue Sep 6, 2024 · 0 comments
Open

manual_control attribute not restored by scene #1050

FireFury0 opened this issue Sep 6, 2024 · 0 comments

Comments

@FireFury0
Copy link

FireFury0 commented Sep 6, 2024

Describe the bug and how to reproduce it:

The manual_control attribute is not restored when activating a scene that includes the switch.adaptive_lighting_[light] entity.

Steps to reproduce the behavior:

  1. Ensure that switch.adaptive_lighting_[light] is turned on.
  2. Manually control a light which has take_over_controlled enabled, so that it becomes listed in the switch's manual_control attribute.
  3. Save the entity state in a scene.
  4. Turn off the switch.adaptive_lighting_[light] entity
  5. Activate the scene.
  6. switch.adaptive_lighting_[light] will be turned back on by the scene, but its manual_control attribute will be empty.

Further information:

I am trying to set up an automation which temporarily disables adaptive lighting, sets the light's brightness and colour, then after waiting for a trigger restores the original state. At the start of the automation, I am creating a scene containing the light itself, switch.adaptive_lighting_[light], switch.adaptive_lighting_adapt_brightness_[light], switch.adaptive_lighting_adapt_color_[light] and switch.adaptive_lighting_sleep_mode_[light]. After waiting for a trigger, it then activates the scene to restore the original state. This works fine if the light was not originally being manually controlled, but breaks if it is being manually controlled since the manual_control attribute is not restored by the scene.

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

No branches or pull requests

1 participant