basnijholt / adaptive-lighting

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

Adaptive Lighting Sleep Mode dims light during day #1025

Closed cpuks closed 1 month ago

cpuks commented 1 month ago

I've set up latest adaptive-lightning for my lights - mixed zigbee (z2m), yeelight and I found out that no matter what I change in light configuration when I turn on Adaptive Lighting Sleep Mode it works immediately even in the middle of the day but as I understand that should be only effective during nighttime (after sunset before sunrise). Tried different sunset / sunrise options -> None, certain time periods like rise 07:00:00 and set 23:00:00 - no luck, tried transition_until_sleep on/off, but that didn't change anything either. All other options like brightness and temperature work fine except sleep mode. Anyone has a solution to this, as for now I've got an automation that turns on sleep mode at certain time and off in the morning - it shouldn't be like that?

SFA17SCM58D commented 1 month ago

I am also seeing the same issue

basnijholt commented 1 month ago

The sleep mode is on when the switch is on regardless of the time of the day. This is by design. This is explained in the read me. Please tell me which part is unclear?