-
Notifications
You must be signed in to change notification settings - Fork 141
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
Lights not adapting until Reload is selected #1056
Comments
same issue. |
Just a tip, a workaround is to disable AL when the light turns off and enable when turned on. Just be sure to set your adapt delay is set to some reasonable number to give it a chance. I have mine at 0.5s. |
Y
This works great, thanks. |
Hello, same issue here |
Hello. Same issue here as well. |
@basnijholt looks like this is fairly widespread, any chance you could investigate? I am willing to test and provide results if you need it. |
Same issue here |
Same issue here. |
Same issue. Can you elaborate a bit more on your workaround? I didn't get how to set it. Thanks! |
Set an automation where when you turn the lights off it. Also disables the adaptive lighting for that particular zone /group. When you turn the lights on enable adaptive lighting. This force is adaptive lighting to load every time the lights are turned on which ultimately keeps them in sync. |
1 similar comment
Set an automation where when you turn the lights off it. Also disables the adaptive lighting for that particular zone /group. When you turn the lights on enable adaptive lighting. This force is adaptive lighting to load every time the lights are turned on which ultimately keeps them in sync. |
Gotcha, I need to find a way to make it "general" and not for each light - so far they are seven where I use AL. Hope the developer can look into it |
To make it easier for the workaround, I created a "Run in sequence" step that turns off adaptive lighting (the main switch, not the integration itself), waits 500 ms, then turns it on. And I copy/paste that section into each automation that includes a "Light: Turn on" step and update the target entity. It could probably be made into a script that accepts a device input, or it could be its own automation that cycles the associated adaptive lighting for any switch. But all of that seems like unreasonable effort - hoping this bug gets fixed soon. Side note: I don't know if this is an HA problem (2024.10.4) or an Adaptive Lighting problem, but more than once when updating my automations with this workaround, the actual name of the automation changed (I definitely didn't change the name intentionally or even unintentionally) and suddenly I couldn't save it and was getting an error that said "only automations in automations.yaml are editable". To fix I had to abandon my changes, go back to my list of automations, and force a refresh to find the renamed automation. |
Hi thanks for sharing. I added the step to add the light/lights into Adaptive Light in the scenes so it seems to work. What I didn't get yet is if AL keeps adapting the temperature. Hope the bug get fixed |
If you do it the way I mentioned it will continue to adapt. The integration works well once it's "reloaded". This effectively causes that |
I'm probably just terribly inept, but how do you automate the reload of the integration itself? I can't find a generic "Integration: Reload" action or anything similar to put into an automation or script. Or are you saying you do this by hand using the GUI? If that's the case, do you just have to reload the integration once per HA boot, or once every time the lights go from off to on? |
Just create a scene with the adaptive lighting settings in it and save it with it On and save another with it off. Then create an automation that when the lights group is turned off the off scene is triggered. When lights group on trigger the on scene. |
I had the same issue but I discovered that in my automation that was turning the light on, I had specified the device I wanted to turn on. Once I changed that automation to specify the entity instead, AL started working as expected. Hope that helps someone. |
I'm not sure what you mean. I took all My lights that are in the room and turn them into a zigbee group. From there I bound the switch to the light group. Went into adaptive lighting and I added the light group entity in the switch.switch entity. Doing it this way does not work. In the incense I describe above there are no automations or scenes. The only way I found to make it work is to create an automation which enables and disables adaptive lighting. Unless I'm just totally missing something here. But I believe adaptive lighting only lets you assign the light entities anyways. |
home-assistant_adaptive_lighting_2024-10-08T22-32-08.613Z.log
I used the UI config not YAML, I see this note but not sure where it should go in the config or what it should include
"Note: If you plan to strictly use the UI, the adaptive_lighting: entry must still be added to the YAML."
Without that line adaptive lighting does function and reloading the integration kickstarts it again. Do I just need to add a node like this:
Philips Hue White Ambiance (LTD010 and LTD009)
Switches are Inovelli Blue series
Switches are bound to the group of lights
The group is set to the adaptive lighting integration
Describe the bug and how to reproduce it:
Turn lights off via switch, wait some time (in my case usually after work so a few hours but doesnt need to be that long)
Turn on lights via switch
Lights return to previous value and do not continue to adapt even though AL settings are all enabled.
Steps to reproduce the behavior:
To correct the behavior go to Adaptive lighting integration, and select reload for each affected area.
Lights now continue to adapt while on.
*EDIT: Min and max brightness are 12/100% respectively, those seem to be the only parameters not displayed in the snips.
The text was updated successfully, but these errors were encountered: