Files
TheFurya 67e33f1723 Split wake-up automation around restart-proof awake flag
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>
2026-07-26 16:04:23 +02:00

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