67e33f1723
Replace the monolithic Sleep Tracking Stopped automation with an input_boolean.awake flag plus input_datetime.woke_up timestamp. Bedroom light and bathroom music trigger on the flag, music now runs weekdays only, and the 45-minute music stop uses a template trigger against the stored timestamp instead of a delay so it survives Home Assistant restarts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
12 lines
178 B
YAML
12 lines
178 B
YAML
input_boolean:
|
|
awake:
|
|
name: Awake
|
|
icon: mdi:weather-sunny
|
|
|
|
input_datetime:
|
|
woke_up:
|
|
name: Woke up
|
|
has_date: true
|
|
has_time: true
|
|
icon: mdi:alarm-check
|