♾ Sensor Light Add On - Media & Movie Lights - House Alarm Lights - Smoke Alarm Lights & Exhaust Fans + More

@tyjthomas

Yes it can. Have you looked at just using the sensor light blueprint and using night lights, and use the state condition. You will have to make a template binary sensor that inverts the state of your door so when it is closed it is ON and when it is open it is OFF. Then use that as your state condition in night lights. You could also include the time condition in night lights so when your wife does her makeup at X time and the door is closed (using your template binary sensor) then you activate night lights that are set to 100% brightness. Also make sure you select “If lights are ON, adjust the lights when crossing over” in night light control.

If you look at my template examples click here is shows you how to invert a binary sensor. See REF - TS-7

Or you can just us the template helper by going to Settings / Devices & Services / Helpers Tab at the top / Create Helper / Template / Binary Sensor / Enter in the name you would like to call it and set the device class to your liking and in “State Template” paste the code below replacing the ‘binary_sensor.your_door_sensor_here’ with your door entity ID’s

{{ is_state('binary_sensor.your_door_sensor_here', 'off') }}

Let us know if this works for you.

Blacky :smiley: