hass-circadian_lighting icon indicating copy to clipboard operation
hass-circadian_lighting copied to clipboard

Exclude specific light entities from sleep mode

Open samolition opened this issue 3 years ago • 2 comments

Is it possible to exclude a specific light entity from sleep mode, while leaving its color temp and brightness still controlled by CL? I have strip lights that are rendered useless by sleep mode, but the rest of my bulbs thrive at that brightness setting. Would like to get my strip lights up to an acceptable brightness level while sleep mode is active.

samolition avatar Aug 23 '20 14:08 samolition

Just set up two sets of CL switches, one that includes sleep configuration and one without - or you should just have a different sleep configuration for each set of lights.

claytonjn avatar Aug 24 '20 00:08 claytonjn

@samolition, I do something similar (but slightly more complex).

I have a input_select.sleeping_mode with "total", "half", and "off". Where total corresponds to everyone sleeping, and half to only one person sleeping.

Check out my code here: https://github.com/basnijholt/home-assistant-config/blob/80535923abeab1e11f15b148b7b0d894591123b0/includes/switches.yaml#L36-L101

basnijholt avatar Sep 06 '20 08:09 basnijholt