Created
October 26, 2025 20:20
-
-
Save peyanski/a667208b25160b7790426206535bd0a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Automation 1: Smart Real Workday Light Alarm | |
| # This turns on bedroom lights only on real work mornings | |
| description: >- | |
| Gently turns on the bedroom light on workdays at 06:30 AM with a gradual | |
| transition. | |
| triggers: | |
| - trigger: time | |
| at: "06:30:00" | |
| conditions: | |
| - condition: state | |
| entity_id: binary_sensor.workday_sensor | |
| state: "on" | |
| actions: | |
| - data: | |
| transition: 300 # 5 minute fade-in if your light supports that | |
| brightness: 255 | |
| action: light.turn_on | |
| target: | |
| entity_id: | |
| - light.bedroom_light # CHANGE THIS to your bedroom light | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment