Smart Night Light by LTek
π Version 2026.05.02.5c
β large update, several small tweaks and new features.
Author: LTek
How it works...
β’ Night Mode is determined by any enabled condition β Time Range, Sun Elevation, or Ambient Light. If any enabled condition is true, Night Mode is active (OR logic).
β’ Required Conditions add AND logic β if a condition is marked as Required, it must also be true for Night Mode to be active, regardless of other conditions.
β’ Motion Trigger: When Night Mode is active and motion is detected, lights brighten to Motion Brightness. When motion clears, lights return to Night Brightness after the configured timeout.
β’ Night Trigger: Each enabled trigger (Time Start/End, Sunset/Sunrise, Ambient Dark/Bright) fires independently and sets the light to Night Brightness or turns it off based on whether Night Mode is now active.
β’ Day Trigger: Sunrise, Time End, Ambient Bright β turns lights off.
β’ Bypass Schedule: When enabled, defines days and times when nothing will ever trigger β checked first, no light action taken.
β’ Bypass Switch: When enabled, overrides normal automation β checked last, acts on the light per the Bypass Switch Action setting.
π **Day** - Lights are not controlled; Night Mode is inactive
π **Night Mode** - Any enabled condition is true (and all required conditions are met)
π **Motion** - Lights brighten to Motion Brightness when Night Mode is active
**FEATURES**
π― Multi-sensor support with motion confirmation and cooldown
π
Smart night detection via ambient light, sun elevation, or time schedule
β±οΈ Configurable timeouts with optional grace periods
π Required Conditions enforce AND logic across night mode sources
βπ§ Bypass system for temporary automation override
π’ Comprehensive notification system
π Persistent Web UI Notifications
π± Mobile Notifications
π Sunset/sunrise triggers for automatic scheduling
π« Smooth transitions between all lighting states
π Debug mode for troubleshooting
π Community Discussion, Help, and Details... https://community.home-assistant.io/
source_url: Home Assistant Blueprint : Smart Night Light by Ltek Β· GitHub