Adaptive Lighting Scheduler
Hey Home Assistant Enthusiasts,
Iβm excited to share my Blueprint for Adaptive Lighting Scheduling! This blueprint calculates optimal brightness and color temperature values throughout the day and stores them in input_number helpers for use by other automations, switches, and dashboards.
Links:
Version History:
- 2025.12.2: Add direct light control and comprehensive documentation
- 2025.12.1: Initial release
Key Features:
- Schedule-Based: Configure different times for each day of the week (weekdays vs weekends)
- Sun Tracking: Optional sunrise/sunset awareness for natural transitions
- Smooth Ramping: Gradual transitions between day phases (wake, morning, evening, sleep, night)
- Helper Output: Stores values in
input_numberentities for use by switches, dashboards, and other automations - Direct Light Control: Optionally control lights directly through this blueprint. Works standalone without button automations, or alongside them for centralized adaptive scheduling
- Auto-Adjust: Automatically update selected lights when schedule changes (only affects lights that are ON)
- Multiple Zones: Create multiple instances with different helper pairs for different lighting zones
Requirements:
- Home Assistant 2024.10.0 or later
- Two
input_numberhelpers (brightness and color temperature) sun.sunentity (included by default, requires GPS coordinates set in Settings β System β General)
Quick Start:
Detailed setup instructions, helper configuration examples, and dashboard examples are included in the blueprint description. Just open the automation editor to see everything you need!
Works Great With:
This blueprint pairs perfectly with my switch blueprints that support adaptive lighting mode:
- Philips Hue Tap Dial Switch (Z2M / ZHA) Custom, Light and Media mode [RDM002]
- Niko Battery switch multi button (Z2M / ZHA) Custom and Light mode [552-720X1][552-720X2][552-720X4]
Simply set the Light Adjustment Mode to βAdaptiveβ in those blueprints and point them to the helpers updated by this scheduler!
Happy automating!