From 5e97058f62bc06f7316ad11810caaa84150ac073 Mon Sep 17 00:00:00 2001 From: Joshua King Date: Fri, 4 Sep 2026 10:20:23 -0400 Subject: [PATCH] Refactor bedtime notification actions to streamline Alexa media announcements and adjust conditions for weekend triggers --- automations/04_kids_and_announcements.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/automations/04_kids_and_announcements.yaml b/automations/04_kids_and_announcements.yaml index b2c4e90..477c0fb 100644 --- a/automations/04_kids_and_announcements.yaml +++ b/automations/04_kids_and_announcements.yaml @@ -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'