basnijholt / adaptive-lighting

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

Manual Interaction: Ignore first x seconds #918

Open henfri opened 4 months ago

henfri commented 4 months ago

Hello,

the lights which I control have a function to slowly dim to the target value (e.g. if I switch on, it Dims to 100% within 5s).

Since I use this function, adaptive lighting seems not to work anymore and I think that this slow dimming to the target is seen as a manual user-interaction so that Adaptive Lighting becomes inactive.

Would it be possible to ignore manual interaction for a configurable time after switch on?

Greetings, Hendrik

ncd7 commented 3 months ago

Hmm interesting, my lights also turn on slowly but do not have that issue. I've a hue and I'm using hue groups at the hue level bridge and AL is only operating on those groups. Not sure if that makes a difference or not.

lvfmc85 commented 2 months ago

Hello,

the lights which I control have a function to slowly dim to the target value (e.g. if I switch on, it Dims to 100% within 5s).

Since I use this function, adaptive lighting seems not to work anymore and I think that this slow dimming to the target is seen as a manual user-interaction so that Adaptive Lighting becomes inactive.

Would it be possible to ignore manual interaction for a configurable time after switch on?

Greetings, Hendrik

Hi. I think this will also help with an issue I have with tuya lights. I have some lights on local tuya (internet blocked from them) and the take control doesn't work on them properly. When the lights are turned on, they seem to change some settings and the take control understands that as a manual user-interaction, so the adaptive lighting is not activated when the take control function is selected. A function to ignore manual interaction for x seconds after they are turned on should solve this as well.