74 lines
1.9 KiB
YAML
74 lines
1.9 KiB
YAML
####################################################################
|
|||
|
|
############ DAY CAMP ANNOUNCEMENTS AND AUTOMATIONS ################
|
||
|
|
####################################################################
|
||
|
|
|
||
|
|
- id: '1744503044813'
|
||
|
|
alias: Announce day camp preparation and pause TV
|
||
|
|
triggers:
|
||
|
|
- at: 08:25:00
|
||
|
|
trigger: time
|
||
|
|
conditions:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
actions:
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.day_camp_today
|
||
|
|
state: 'on'
|
||
|
|
- target:
|
||
|
|
entity_id: media_player.hisense_g204x_cd41
|
||
|
|
action: media_player.media_pause
|
||
|
|
data: {}
|
||
|
|
continue_on_error: true
|
||
|
|
- data:
|
||
|
|
message: 'Time to prepare for day camp. Please do the following: Fill water bottles, put on deodorant, brush teeth, and Jordyn, brush your hair.'
|
||
|
|
targets:
|
||
|
|
- media_player.living_room
|
||
|
|
- media_player.declan_s_room
|
||
|
|
- media_player.jordyn_s_room
|
||
|
|
- media_player.kitchen
|
||
|
|
action: script.family_announcement
|
||
|
|
mode: single
|
||
|
|
|
||
|
|
|
||
|
|
- id: '1744503044814'
|
||
|
|
alias: Announce time to leave for day camp and turn off TV
|
||
|
|
triggers:
|
||
|
|
- at: 08:40:00
|
||
|
|
trigger: time
|
||
|
|
conditions:
|
||
|
|
- condition: time
|
||
|
|
weekday:
|
||
|
|
- mon
|
||
|
|
- tue
|
||
|
|
- wed
|
||
|
|
- thu
|
||
|
|
- fri
|
||
|
|
actions:
|
||
|
|
- condition: state
|
||
|
|
entity_id: binary_sensor.day_camp_today
|
||
|
|
state: 'on'
|
||
|
|
- target:
|
||
|
|
entity_id: media_player.basement_show
|
||
|
|
data:
|
||
|
|
media_content_id: Turn Kids TV Off
|
||
|
|
media_content_type: routine
|
||
|
|
action: media_player.play_media
|
||
|
|
- data:
|
||
|
|
message: 'It is time to leave for day camp. Please do the following: Put on shoes, get lunch, get water bottle, and grab your bag if needed.'
|
||
|
|
targets:
|
||
|
|
- media_player.living_room
|
||
|
|
action: script.family_announcement
|
||
|
|
- target:
|
||
|
|
entity_id: media_player.hisense_g204x_cd41
|
||
|
|
action: media_player.turn_off
|
||
|
|
data: {}
|
||
|
|
continue_on_error: true
|
||
|
|
mode: single
|
||
|
|
|
||
|
|
|