Refactor bedtime notification actions to streamline Alexa media announcements and adjust conditions for weekend triggers

This commit is contained in:
Joshua King
2026-09-04 10:20:23 -04:00
parent 59ac589c18
commit 5e97058f62
+6 -8
View File
@@ -213,12 +213,12 @@
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}'
actions:
- data:
- action: notify.alexa_media
data:
target:
- media_player.living_room
- media_player.dinning_room
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
action: notify.alexa_media
mode: single
- id: '1743311106135'
@@ -232,10 +232,8 @@
conditions:
- condition: time
weekday:
- sun
- mon
- tue
- wed
- fri
- sat
- condition: state
entity_id: calendar.family_events
state: 'on'
@@ -243,12 +241,12 @@
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}'
actions:
- data:
- action: notify.alexa_media
data:
target:
- media_player.living_room
- media_player.dinning_room
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
action: notify.alexa_media
mode: single
- id: '1743385356527'