💡 Advanced Motion-Activated Bathroom Light Blueprint – Now in English! V2.1

:bulb: Advanced Motion-Activated Bathroom Light Blueprint – Now in English! V2.1

Say goodbye to basic “motion-on / timeout-off” automations. This blueprint gives you full and real control.

:sparkles: Features:
:white_check_mark: Custom active hours and weekdays – perfect for weekdays vs weekends

:hammer_and_wrench: Changes Made in V2.1:

  1. Separate time windows and weekdays for each scene

Daylight Scene: active start time day, active end time day, active weekdays day

Nightlight Scene: active start time night, active end time night, active weekdays night

  1. Logic split for scene control

Scene selection now respects both time and weekday for better precision

:white_check_mark: Benefits of This Update:

More flexibility: Tailor lighting to your lifestyle

Better control: Works great for night shifts, early risers, or lazy weekends

Scalable: Easy to extend (e.g., “Evening Relax Scene” or “Cleaning Mode”)

:crescent_moon: Smart night mode – switches scenes automatically outside your preferred schedule

:bulb:Adjustable lux threshold – only turns on when it’s actually dark enough

:stopwatch:Failsafe timer – set your own timeout; light turns off only if no motion is detected

:raised_hands: Manual-friendly – won’t shut off lights you turned on yourself

:hammer_and_wrench: Designed to be fully UI-configurable – no YAML tweaking needed.

:link: Grab the blueprint here :

:paperclip:Smarter Bathroom Lighting Blueprint for Home Assistant! - Pastebin.com

:pray: Let me know if you decide to use it – and feel free to share it with others!

It would be worth you creating an installation link to make life easier for potential users: https://my.home-assistant.io/create-link/?redirect=blueprint_import.

so :slight_smile:

@razzietheman he’s saying create a GIST and then a link so people can use it to do a 1-click install

how do I create a GIST?
i was able to make a import button in my last post

your button works but its better to use gist, pastebin is not meant to be permeant or editable (in case you want to update it)

1 Like

@razzietheman just started playing with it, nice blueprint. A lot of people dont use Scenes, we just control lights directly. Might want to consider an option to directly input lights for both Day and Nightlight options. You can create scenes on the fly (aka Snapshots) to ‘save the last settings’.

this captures all lights in the system…

service: scene.create
data:
  scene_id: lights_before
  snapshot_entities: "{{ states.light | map(attribute='entity_id') | list }}"

this template limits it to a given area…

{{ area_entities('kitchen') 
  | select('match', 'light')
  | list }}

… of course, you can create a template that limits it to whatever you want

thz a lot for your input , I see , I can check on it when I have time or you are welcone to adjust the blueprint of your needs, I was using the scene option just for it is so easy and also a way to get a working blueprint!

1 Like

CLOSE THIS ONE!!

Open up my new blueprint at 💡 Advanced Motion-Activated Bathroom Light Blueprint – Now in English! V2.2

for future question please use this one instead!!

1 Like