-
Notifications
You must be signed in to change notification settings - Fork 140
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
Activate manual control when lights are turned on with individual settings #89
Comments
Why don't you disable the adaptive lighting switch before calling the light toggle switch in your automation? |
You could check the status of the light. If it’s off, turn the adaptive lighting switch off and then turn the light on. If it’s on, the other way around. You can achieve that with templating in the automation
https://www.home-assistant.io/docs/configuration/templating/
… On 11 Feb 2021, at 18:16, bcutter ***@***.***> wrote:
Why don't you disable the adaptive lighting switch before calling the light toggle switch in your automation?
I thought bout that for a short moment but how to re-enable AL again? As I use light.toggle how can I make a difference between
A) turning light on (and turn of AL before)
B) turning light off (and turn on AL after)?
That's what my blueprint based automation looks like for left button (the one I want maximum brightness):
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
OK I think I could manage that. But what about
Even without that it is getting quite complicated (check if light is off, if off than turn off AL and turn on light with custom brightness setting) for just turning a light on. Why can't AL just respect my custom light settings and set the light to manual mode? That's what my feature request would be. So there must be a smarter way... |
Why not first calling
call? |
As described in #37 this is not respected as well because it will only work for lights which are in ON state. Did not test it by myself yet, but that's what #37 is all about. And the workaround (turn light on, set to manual mode, apply individual (full) brightness setting) may result in strange behavior (flickering light etc.). I really think there is room for improvement in AL to make these things possible. In case there are no other smart ideas... |
I am trying to use this. Unfortunately my changes are not saved in the automation. Either because the automation is based on a blueprint or I have some syntax errors. Could someone have a look at it? That´s the automation (cleaned some irrelevant parts) - see
So the question is: how to run several services combined with templating in a blueprint based automation? I´m quite sure my syntax is wrong, https://www.home-assistant.io/docs/scripts/service-calls/#use-templates-to-decide-which-service-to-call does not really help. Update: I still vote for adaptive lightning detecting if lights are turned on with custom settings and setting manual mode for those lights automatically (as it does when changes are detected when lights are on). That would save a lot of headache and many lines of YAML code. |
A workaround I found to at least work is to first call |
I'm currently in the process of doing version 2. This will be added/fixed. Keep this ticket open until you can verify that it's properly working in the upcoming version 2. |
I am implementing an option Enabling this will make sure AL doesn't take over when setting a scene. |
Use-Case:
I have wall switches with two buttons. Left one toggles light and sets brightness to 100 %, right one turns on without specific settings, so:
Issue:
After using left button, so turning on light with...
...light turns on with 100 % brightness. After 10 seconds at latest it is being set to adaptive lighting´s current settings (e. g. 28 %).
Proposal:
Set lights to manual control when they are turned on with a fixed setting (values brightness, color temperature etc.).
Or is there a workaround for my scenario? I DO NOT want to manually dim the light after turning it on. 100 % shall be accepted, please AL don´t ignore my wish.
Update: Maybe my scenario is related to #37, at least parts of it.
The text was updated successfully, but these errors were encountered: