I have set up a scene that turns off all but 1 light in my appartement.
This scene is activated with an automation that triggers if my phone is plugged in to the charger after 11 at night.
The problem i have is, I have my bathroom lights on a motion sensor and i cant figure out have to make them activate at a lower brightness when the night scene is active (Result’s in blindness and discomfort when getting up to use the bathroom at night.) is there a way to do this, or do i have to manually dim them before i go to bed ?
Scenes don’t indicate if they are active/inactive; they only indicate the last time they were activated. If we don’t know if the night scene is currently active, we can’t determine when to set the bathroom lights dimmer/brighter.
You could create an input_boolean and have your night scene set it to on when activated. Now we can check the input_boolean’s state and, if it’s on, use that information to set the light’s brightness accordingly.
However, this presents a different problem: what will we use to set the input_boolean to off? We need something to indicate when the night scene is not active.
I use an input_select with several “modes” for the home, including night. If you also have a day or morning scene, you can use the input_select to store which one of them is actually active and check it for your automation.