Add daily Alexa announcements automation for kids' routine
This commit is contained in:
@@ -1199,3 +1199,55 @@
|
||||
entity_id: 9629035816fddf7de8926e4e4c29aa34
|
||||
domain: switch
|
||||
mode: single
|
||||
- alias: Daily Alexa Announcements for Kids
|
||||
description: Schedule of Alexa announcements for structured daily routine
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: "08:00:00"
|
||||
- platform: time
|
||||
at: "09:00:00"
|
||||
- platform: time
|
||||
at: "10:00:00"
|
||||
- platform: time
|
||||
at: "10:15:00"
|
||||
- platform: time
|
||||
at: "11:00:00"
|
||||
- platform: time
|
||||
at: "12:00:00"
|
||||
- platform: time
|
||||
at: "12:30:00"
|
||||
- platform: time
|
||||
at: "13:00:00"
|
||||
- platform: time
|
||||
at: "13:30:00"
|
||||
- platform: time
|
||||
at: "14:00:00"
|
||||
- platform: time
|
||||
at: "14:30:00"
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: calendar.m365_family_events
|
||||
state: 'on'
|
||||
- condition: template
|
||||
value_template: '{{ state_attr(''calendar.m365_family_events'', ''message'') ==
|
||||
''No Camp'' }}'
|
||||
action:
|
||||
- variables:
|
||||
messages:
|
||||
"08:00:00": "Time for breakfast and a little TV!"
|
||||
"09:00:00": "Outside play time! If it’s bad weather, do your learning activities inside."
|
||||
"10:00:00": "Snack time!"
|
||||
"10:15:00": "Time for quiet play or outside fun."
|
||||
"11:00:00": "Creative time! Draw, color, or write something cool!"
|
||||
"12:00:00": "Lunch time! Wash up and head to the table."
|
||||
"12:30:00": "Happy Helper Time! Do your chores like a champ!"
|
||||
"13:00:00": "TV break — relax and enjoy."
|
||||
"13:30:00": "Time to read a book or listen to a story."
|
||||
"14:00:00": "Let’s move! Try a Minecraft brain break!"
|
||||
"14:30:00": "Time to relax with mindfulness or yoga."
|
||||
- service: notify.alexa_media_kids_rooms
|
||||
data:
|
||||
message: "{{ messages[now().strftime('%H:%M:%S')] }}"
|
||||
data:
|
||||
type: announce
|
||||
|
||||
Reference in New Issue
Block a user