diff --git a/automations/04_kids_and_announcements.yaml b/automations/04_kids_and_announcements.yaml index 865d9f8..b2c4e90 100644 --- a/automations/04_kids_and_announcements.yaml +++ b/automations/04_kids_and_announcements.yaml @@ -35,8 +35,8 @@ mode: single - id: '1788133654303' - alias: Set weekday announcement speakers to volume 8 - description: Set the school-announcement speakers to volume level 8 each weekday. + alias: Set weekday announcement speakers to volume 5 + description: Set the school-announcement speakers to volume level 5 each weekday. triggers: - trigger: time at: '07:10:00' @@ -52,21 +52,21 @@ - action: media_player.volume_set target: entity_id: + - media_player.family_room - media_player.living_room - - media_player.jordyn_s_room - media_player.kitchen - media_player.dinning_room - media_player.declan_s_room data: - volume_level: 0.8 + volume_level: 0.5 mode: single - id: '1788133651043' - alias: Set Jordyns announcement speaker to volume 10 - description: Set the school-announcement speakers to volume level 8 each weekday. + alias: Set Jordyns announcement speaker to volume 6 + description: Set the school-announcement speakers to volume level 6 each weekday. triggers: - trigger: time - at: '07:15:00' + at: '07:35:00' conditions: - condition: time weekday: @@ -77,7 +77,7 @@ entity_id: - media_player.jordyn_s_room data: - volume_level: 1.0 + volume_level: 0.6 mode: single - id: '1743380000904' @@ -158,7 +158,7 @@ - id: '1743381226135' alias: Jordyn-Bedtime-Snack-Notification - description: Triggers an Alexa notification at 7:30 PM if the Google Family Calendar + description: Triggers an Alexa notification at 8 PM if the Google Family Calendar event is 'Girls at Home' triggers: - trigger: time @@ -179,7 +179,10 @@ at Home'' }}' actions: - target: - entity_id: media_player.living_room + entity_id: + - media_player.living_room + - media_player.jordyn_s_room + - media_player.dining_room data: media: media_content_id: Jordyn Weekday Bedtime Routine @@ -188,6 +191,66 @@ action: media_player.play_media mode: single +- id: '1743311126135' + alias: Jordyn-Bedtime-10-minute-warning-Notification + description: Triggers an Alexa notification at 7:50 PM if the Google Family Calendar + event is 'Girls at Home' + triggers: + - trigger: time + at: '19:50:00' + enabled: true + conditions: + - condition: time + weekday: + - sun + - mon + - tue + - wed + - condition: state + entity_id: calendar.family_events + state: 'on' + - condition: template + value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls + at Home'' }}' + actions: + - 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' + alias: Jordyn-Bedtime-10-minute-warning-weekend-Notification + description: Triggers an Alexa notification at 8:20 PM if the Google Family Calendar + event is 'Girls at Home' + triggers: + - trigger: time + at: '20:20:00' + enabled: true + conditions: + - condition: time + weekday: + - sun + - mon + - tue + - wed + - condition: state + entity_id: calendar.family_events + state: 'on' + - condition: template + value_template: '{{ state_attr(''calendar.family_events'', ''message'') == ''Girls + at Home'' }}' + actions: + - 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' alias: Jordyn’s Light on at 7PM description: ''