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 value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}' at Home'' }}'
actions: actions:
- data: - action: notify.alexa_media
data:
target: target:
- media_player.living_room - media_player.living_room
- media_player.dinning_room - media_player.dinning_room
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack. message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
action: notify.alexa_media
mode: single mode: single
- id: '1743311106135' - id: '1743311106135'
@@ -232,10 +232,8 @@
conditions: conditions:
- condition: time - condition: time
weekday: weekday:
- sun - fri
- mon - sat
- tue
- wed
- condition: state - condition: state
entity_id: calendar.family_events entity_id: calendar.family_events
state: 'on' state: 'on'
@@ -243,12 +241,12 @@
value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls
at Home'' }}' at Home'' }}'
actions: actions:
- data: - action: notify.alexa_media
data:
target: target:
- media_player.living_room - media_player.living_room
- media_player.dinning_room - media_player.dinning_room
message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack. message: Jordyn - ten minutes left until it's time to put away screens and get a bedtime snack.
action: notify.alexa_media
mode: single mode: single
- id: '1743385356527' - id: '1743385356527'