Add Alexa volume control automations for camp days and reset on no camp days

This commit is contained in:
2025-06-27 14:44:37 -04:00
parent 72ef3af179
commit 9666eacfa1

View File

@@ -1199,6 +1199,27 @@
entity_id: 9629035816fddf7de8926e4e4c29aa34
domain: switch
mode: single
- id: '1744503044129'
alias: Set Alexa Announcement Volume
description: Set Alexa announcement volume for structured daily routine
mode: single
trigger:
- platform: time
at: "08:15:00"
conditions:
- condition: state
entity_id: calendar.m365_family_events
state: 'on'
- condition: template
value_template: >
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) }}
action:
- service: media_player.play_media
data:
media_content_id: Set kids speakers to 6
media_content_type: routine
target:
entity_id: media_player.basement_show
- id: '1744503044809'
alias: Daily Alexa Announcements for Kids
description: Schedule of Alexa announcements for structured daily routine
@@ -1275,6 +1296,12 @@
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
action:
- service: media_player.play_media
data:
media_content_id: Pause kids TV
media_content_type: routine
target:
entity_id: media_player.kitchen_echo
- service: notify.alexa_media
data:
target:
@@ -1284,9 +1311,6 @@
- media_player.kitchen
- media_player.tv_alexa
message: "Time to prepare for day camp. Please do the following: Fill water bottles, Put on deodorant, Brush hair for Jordyn, Brush teeth."
- service: media_player.media_pause
target:
entity_id: media_player.kids_tv
- id: '1744503044814'
alias: Announce time to leave for day camp and turn off TV
trigger:
@@ -1301,6 +1325,12 @@
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
action:
- service: media_player.play_media
data:
media_content_id: Turn Kids TV Off
media_content_type: routine
target:
entity_id: media_player.basement_show
- service: notify.alexa_media
data:
target:
@@ -1310,6 +1340,46 @@
- media_player.kitchen
- media_player.tv_alexa
message: "It is time to leave for day camp. Please do the following: Put on shoes, Get lunch, Get water bottle, Get bag if needed."
- service: media_player.turn_off
- id: '1744503044145'
alias: Reet Alexa Announcement Volume - Camp Days
description: Set Alexa announcement volume for structured daily routine
mode: single
trigger:
- platform: time
at: "09:15:00"
conditions:
- condition: state
entity_id: calendar.m365_family_events
state: 'on'
- condition: template
value_template: >
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
action:
- service: media_player.play_media
data:
media_content_id: Reset Alexa Volume
media_content_type: routine
target:
entity_id: media_player.kids_tv
entity_id: media_player.basement_show
- id: '1744503044146'
alias: Reset Alexa Announcement Volume - No Camp Days
description: Set Alexa announcement volume for structured daily routine
mode: single
trigger:
- platform: time
at: "15:15:00"
conditions:
- condition: state
entity_id: calendar.m365_family_events
state: 'on'
- condition: template
value_template: >
{{ 'no camp' in (state_attr('calendar.family_events', 'message') | lower) }}
action:
- service: media_player.play_media
data:
media_content_id: Reset Alexa Volume
media_content_type: routine
target:
entity_id: media_player.basement_show