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

Option to leave manual_control on when lights turn off #1051

Open
emichael opened this issue Sep 8, 2024 · 4 comments
Open

Option to leave manual_control on when lights turn off #1051

emichael opened this issue Sep 8, 2024 · 4 comments

Comments

@emichael
Copy link

emichael commented Sep 8, 2024

When you turn a light on, change it so that it becomes manually controlled, turn it off, and then turn it on again, it would be nice if (there was an option so that) AL remembered that the light was manually controlled and left it alone. This is the way my old, very hacky pyscript-based solution worked.

Then, users could reset the manual_control list via an automation (e.g. every day at 3 a.m.).

@basnijholt
Copy link
Owner

This is the exact way to reset the manual control. How would AL otherwise decide it is no longer manually controlled? Indefinitely?

@emichael
Copy link
Author

emichael commented Sep 8, 2024

If the option I am suggesting was enabled, yes, AL would leave a light in manual control indefinitely.

@ademuri
Copy link

ademuri commented Nov 23, 2024

I also would like this feature. I use motion sensors to trigger my lights, so if I'm out of a room for more than a couple of minutes, the lights will turn off. So, I don't want them to reset just because they've been turned off. I can use the autoreset_control_seconds option or a nightly automation to disable manual control.

@djurny
Copy link

djurny commented Nov 23, 2024

Hi there,
You could make an automation that triggers on manual_control events. Upon reception of the manual_control event, you could simply disable either switch.adaptive_lighting_<name> to not have AL control/reset the light when it turns on again. Alternatively, you can disable the switches for adapt_brightness and adapt_color.
Not a solution, but meets your needs I think.
Groetjes,

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

4 participants