πŸŒ™ Smart Night Light by LTek

:crescent_moon: 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

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

2 Likes

POSTED… Version 2026.05.02.5c

Large update, several small tweaks and new features.