109 lines
2.4 KiB
YAML
109 lines
2.4 KiB
YAML
- id: '1744503044129'
|
|||
|
|
alias: Set Alexa Announcement Volume
|
||
|
|
description: Set Alexa announcement volume for structured daily routine
|
||
|
|
triggers:
|
||
|
|
- at: 08:15:00
|
||
|
|
trigger: time
|
||
|
|
conditions:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.day_camp_today
|
||
|
|
state: 'on'
|
||
|
|
actions:
|
||
|
|
- data:
|
||
|
|
media:
|
||
|
|
media_content_id: Set kids speakers to 6
|
||
|
|
media_content_type: routine
|
||
|
|
metadata: {}
|
||
|
|
action: media_player.play_media
|
||
|
|
target:
|
||
|
|
device_id: 7c55da01c1d0e4ee7900852bb7621b1e
|
||
|
|
mode: single
|
||
|
|
|
||
|
|
- id: '1788133654303'
|
||
|
|
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'
|
||
|
|
conditions:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.blackhawk_school_day
|
||
|
|
state: 'on'
|
||
|
|
actions:
|
||
|
|
- action: media_player.volume_set
|
||
|
|
target:
|
||
|
|
entity_id:
|
||
|
|
- media_player.family_room_show
|
||
|
|
- media_player.living_room
|
||
|
|
- media_player.kitchen
|
||
|
|
- media_player.dinning_room
|
||
|
|
- media_player.declan_s_room
|
||
|
|
data:
|
||
|
|
volume_level: 0.5
|
||
|
|
mode: single
|
||
|
|
|
||
|
|
- id: '1744503044145'
|
||
|
|
alias: Reset Alexa Announcement Volume - Camp Days
|
||
|
|
description: Set Alexa announcement volume for structured daily routine
|
||
|
|
trigger:
|
||
|
|
- platform: time
|
||
|
|
at: 09:15:00
|
||
|
|
condition:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
action:
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.day_camp_today
|
||
|
|
state: 'on'
|
||
|
|
- service: media_player.play_media
|
||
|
|
data:
|
||
|
|
media_content_id: Reset Alexa Volume
|
||
|
|
media_content_type: routine
|
||
|
|
target:
|
||
|
|
entity_id: media_player.basement_show
|
||
|
|
mode: single
|
||
|
|
|
||
|
|
- id: '1744503044146'
|
||
|
|
alias: Reset Alexa Announcement Volume - No Camp Days
|
||
|
|
description: Set Alexa announcement volume for structured daily routine
|
||
|
|
trigger:
|
||
|
|
- platform: time
|
||
|
|
at: '19:17:00'
|
||
|
|
condition:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
action:
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.day_camp_today
|
||
|
|
state: 'off'
|
||
|
|
- service: media_player.play_media
|
||
|
|
data:
|
||
|
|
media_content_id: Reset Alexa Volume
|
||
|
|
media_content_type: routine
|
||
|
|
target:
|
||
|
|
entity_id: media_player.basement_show
|
||
|
|
mode: single
|