Blueprint Home Assistant: Adaptive Night Path
Smart night light path with adaptive time and presence management.
For more information, you can see the GitHub Repository
π Blueprint Description
This Blueprint solves the issue of blinding night lights or lights that turn off suddenly while you are still in the room. It is designed to create a dimmed light path triggered only when truly needed.
- Hybrid Control: You can choose to run the automation during a fixed time frame (e.g., 11 PM - 6 AM) or based strictly on the sun's position (from sunset to sunrise).
- Advanced Presence Management: Not just simple motion sensors, but full support for presence and occupancy sensors to prevent unwanted turn-offs.
β¨ Key Features
- π Smart Night Mode: Conditional activation via "Use Sunset/Sunrise" toggle or custom time slots.
- π‘ Dimmable Brightness: Set a specific lighting percentage (e.g., 10%) to avoid eye strain.
- β³ Courtesy Timer: User-adjustable off-delay for a smooth transition.
- π Restart Logic: The automation resets the off-timer every time new presence is detected, ensuring lights stay on as long as you are in the area.
- π― Flexible Targeting: Supports single lights, light groups, or entire areas.
π Requirements
- Sun Integration: The
sun.sunintegration must be active (standard in Home Assistant). - Binary Sensor: A motion, presence, or occupancy sensor.
- Dimmable Lights: To fully enjoy the low-brightness feature.
π Installation
- Click the Import in Home Assistant button above.
- Configure the required parameters: sensor, target lights, and preferred activation method (Time or Sun).
- Save and enjoy your new smart night path!