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>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user