This simple change allows you to retain manual control when sleep mode is changed such as at a specific time, sunset, a certain state of a selection of lights (my case), etc.
Examples of where this makes sense is:
Reading a book under a manually set light after sunset enables sleep mode
Having a wake-up light transition during sleep mode being turned off (my case in #1060)
Needing a bright light in the bedroom to sort out the laundry, when sleep mode normally would turn on to provide a deep red
This keeps with the documented behavior, i.e. when the aforementioned lights are turned off and on again, they will go back to adaptive (and sleep colors if in sleep mode), without needing any extra switches, checks, automations, etc.
Making these cases possible with the previous behavior requires complicated workarounds per light. However, to get to the previous behavior (reset manual on sleep mode), all you'd need is to add an extra Action which removes manual control for the same switches in the same automation where you're setting sleep mode.
This simple change allows you to retain manual control when sleep mode is changed such as at a specific time, sunset, a certain state of a selection of lights (my case), etc.
Examples of where this makes sense is:
This keeps with the documented behavior, i.e. when the aforementioned lights are turned off and on again, they will go back to adaptive (and sleep colors if in sleep mode), without needing any extra switches, checks, automations, etc.
Making these cases possible with the previous behavior requires complicated workarounds per light. However, to get to the previous behavior (reset manual on sleep mode), all you'd need is to add an extra Action which removes manual control for the same switches in the same automation where you're setting sleep mode.