🌅 Adaptive Lighting Scheduler

Adaptive Lighting Scheduler

GitHub Code Release

This blueprint calculates optimal brightness and color temperature values throughout the day and stores them in input_number helpers for use by other automations and blueprints.

:sparkles: Key Features

  • Flexible Scheduling: Choose between per-day schedules or simple workday/non-workday mode with automatic holiday detection
  • 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_number entities 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

:clipboard: Requirements

  • Home Assistant: Version 2024.10.0 or later
  • Sun Integration: sun.sun entity for sunrise/sunset tracking
  • Workday Integration: Optional, only needed for Workday/Non-Workday mode with automatic holiday detection

Works Great With:

This blueprint pairs perfectly with my switch blueprints that support adaptive lighting mode:

Simply set the Light Adjustment Mode to “Adaptive” in those blueprints and point them to the helpers updated by this scheduler!


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

4 Likes

Thanks for sharing this. I was looking for a lightweight alternative to the basnijholt/adaptive-lighting integration. Seems to be working great on my bathroom lamp so far!

1 Like

Yeah, which is why I made it exactly. I had used the Adaptive Lighting Custom Component in the past but it did too much for my needs so I was using Light Schedules for a while which had static times for when to switch the Brightness and Color Temperature.

:warning: New Update Available (2025.12.2)

What’s New:

  • Direct Light Control: Optionally control lights directly from this blueprint - no button automations needed!
  • Auto-Adjust: Automatically update selected lights when the schedule changes (only affects lights that are ON)
  • Flexible Targeting: Select individual lights, entire devices, or whole areas to control
  • Centralized Control: Use with or without button automations - handle adaptive scheduling in one place instead of enabling it in each button blueprint
  • Comprehensive Documentation: All input fields now have clear required/optional tags and detailed descriptions

Two Ways to Use:

  1. Standalone Mode: Perfect if you don’t use button automations - just select your lights and enable auto-adjust!
  2. With Button Automations: Already using the button blueprints? You can now centralize your adaptive scheduling here instead of configuring auto-adjust in each button

Upgrade Instructions: Please re-import the blueprint. Your existing helper-only configurations will continue to work perfectly - the new Direct Light Control section is completely optional and defaults to disabled for backwards compatibility.

:warning: New Update Available (2026.01.1)
Add Workday/Non-Workday schedule mode and documentation improvements

What’s New:

  • Workday/Non-Workday schedule mode with automatic holiday detection
  • Choose between per-day schedules or simple workday/non-workday split
  • Workday Settings input group for configuring workday sensor integration
  • Time configuration groups for Workdays and Non-Workdays
  • GitHub Repository, Blueprint Code, and Version badges in description
  • Version History input group with collapsible changelog
  • Helper Configuration collapsible input group
  • Section icons and improved formatting (:sparkles:, :gear:, :date:, :bulb:, :clipboard:)

Upgrade Instructions:

  • Simply re-import the blueprint and reload Automations
  • All changes are backward compatible
  • To use Workday mode, install the Workday integration and configure your workday sensor

:warning: New Update Available (2026.01.2)
Fix adaptive lighting “Already running” errors

What’s Fixed:

  • Automation triggering twice simultaneously causing “Already running” errors
  • Removed unnecessary sun.sun state trigger - the entity’s elevation and azimuth attributes change continuously throughout the day, causing race conditions with the time_pattern trigger
  • Added mode: restart to handle edge cases of overlapping triggers (e.g., HA restart occurring exactly on a 5-minute mark)

Upgrade Instructions:

  • Simply re-import the blueprint and reload Automations
  • All changes are backward compatible
1 Like