basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.88k stars 135 forks source link

Lights not adapting until Reload is selected #1056

Open Fonzi03 opened 4 days ago

Fonzi03 commented 4 days ago

home-assistant_adaptive_lighting_2024-10-08T22-32-08.613Z.log

  1. Your Adaptive Lighting configuration:

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:

#Adaptive Lighting Config, no entries needed if using UI
adaptive_lighting:
  1. Im using ZHA
    • Brand and model number of problematic light(s) 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

  1. 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.

  2. 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.

image image

image image image image

kyc1338 commented 4 days ago

same issue.

Fonzi03 commented 3 days ago

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.

kyc1338 commented 2 days ago

Y

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 initial transition to some reasonable number to give it a chance. I have mine at 5s.

This works great, thanks.

Lawris commented 1 day ago

Hello, same issue here