76 lines
2.0 KiB
YAML
76 lines
2.0 KiB
YAML
- id: '1744503044809'
|
||||
|
|
alias: Daily Alexa Announcements for Kids
|
|||
|
|
description: Weekday summer routine on days with no camp; messages use stable trigger IDs.
|
|||
|
|
triggers:
|
|||
|
|
- trigger: time
|
|||
|
|
at: 08:00:00
|
|||
|
|
id: breakfast
|
|||
|
|
- trigger: time
|
|||
|
|
at: 09:00:00
|
|||
|
|
id: morning_play
|
|||
|
|
- trigger: time
|
|||
|
|
at: '10:00:00'
|
|||
|
|
id: snack
|
|||
|
|
- trigger: time
|
|||
|
|
at: '10:15:00'
|
|||
|
|
id: quiet_play
|
|||
|
|
- trigger: time
|
|||
|
|
at: '11:00:00'
|
|||
|
|
id: creative
|
|||
|
|
- trigger: time
|
|||
|
|
at: '12:00:00'
|
|||
|
|
id: lunch
|
|||
|
|
- trigger: time
|
|||
|
|
at: '12:30:00'
|
|||
|
|
id: chores
|
|||
|
|
- trigger: time
|
|||
|
|
at: '13:00:00'
|
|||
|
|
id: tv_break
|
|||
|
|
- trigger: time
|
|||
|
|
at: '13:30:00'
|
|||
|
|
id: reading
|
|||
|
|
- trigger: time
|
|||
|
|
at: '14:00:00'
|
|||
|
|
id: movement
|
|||
|
|
- trigger: time
|
|||
|
|
at: '14:30:00'
|
|||
|
|
id: relax
|
|||
|
|
conditions:
|
|||
|
|
- condition: state
|
|||
|
|
entity_id: binary_sensor.kids_summer_schedule_day
|
|||
|
|
state: 'on'
|
|||
|
|
- condition: state
|
|||
|
|
entity_id: binary_sensor.day_camp_today
|
|||
|
|
state: 'off'
|
|||
|
|
actions:
|
|||
|
|
- variables:
|
|||
|
|
messages:
|
|||
|
|
breakfast: Time for breakfast and a little TV!
|
|||
|
|
morning_play: Outside play time! If it’s bad weather, do your learning activities inside.
|
|||
|
|
snack: Snack time!
|
|||
|
|
quiet_play: Time for quiet play or outside fun.
|
|||
|
|
creative: Creative time! Draw, color, or write something cool!
|
|||
|
|
lunch: Lunch time! Wash up and head to the table.
|
|||
|
|
chores: Happy Helper Time! Do your chores like a champ!
|
|||
|
|
tv_break: TV break — relax and enjoy.
|
|||
|
|
reading: Time to read a book or listen to a story.
|
|||
|
|
movement: Let’s move! Try a Minecraft brain break!
|
|||
|
|
relax: Time to relax with mindfulness or yoga.
|
|||
|
|
- condition: template
|
|||
|
|
value_template: '{{ trigger is defined and trigger.id in messages }}'
|
|||
|
|
- action: script.family_announcement
|
|||
|
|
data:
|
|||
|
|
message: '{{ messages[trigger.id] }}'
|
|||
|
|
targets:
|
|||
|
|
- media_player.living_room
|
|||
|
|
- media_player.jordyn_s_room
|
|||
|
|
- media_player.chloe_s_room
|
|||
|
|
- media_player.declan_s_room
|
|||
|
|
- media_player.kitchen
|
|||
|
|
delivery:
|
|||
|
|
type: announce
|
|||
|
|
method: all
|
|||
|
|
mode: queued
|
|||
|
|
|
|||
|
|
|