updates
This commit is contained in:
256
automations.yaml
256
automations.yaml
@@ -1103,7 +1103,7 @@
|
|||||||
printer_stop_button: button.p1s_01p09c470102673_stop_printing
|
printer_stop_button: button.p1s_01p09c470102673_stop_printing
|
||||||
printer_chamber_light: light.p1s_01p09c470102673_chamber_light
|
printer_chamber_light: light.p1s_01p09c470102673_chamber_light
|
||||||
detection_frequency: /30
|
detection_frequency: /30
|
||||||
notification_settings: critical
|
notification_settings: standard
|
||||||
notification_service: notify.mobile_app_joshuas_iphone_of_pain
|
notification_service: notify.mobile_app_joshuas_iphone_of_pain
|
||||||
- id: '1743380000904'
|
- id: '1743380000904'
|
||||||
alias: Jordyn-Bedtime-Snack-Notification-Weekend
|
alias: Jordyn-Bedtime-Snack-Notification-Weekend
|
||||||
@@ -1204,182 +1204,186 @@
|
|||||||
description: Set Alexa announcement volume for structured daily routine
|
description: Set Alexa announcement volume for structured daily routine
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: "08:15:00"
|
at: 08:15:00
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: '{{ ''camp'' in (state_attr(''calendar.family_events'', ''message'')
|
||||||
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) }}
|
| lower) }}
|
||||||
|
|
||||||
|
'
|
||||||
action:
|
action:
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
data:
|
data:
|
||||||
media_content_id: Set kids speakers to 6
|
media_content_id: Set kids speakers to 6
|
||||||
media_content_type: routine
|
media_content_type: routine
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.basement_show
|
entity_id: media_player.basement_show
|
||||||
- id: '1744503044809'
|
- id: '1744503044809'
|
||||||
alias: Daily Alexa Announcements for Kids
|
alias: Daily Alexa Announcements for Kids
|
||||||
description: Schedule of Alexa announcements for structured daily routine
|
description: Schedule of Alexa announcements for structured daily routine
|
||||||
mode: single
|
triggers:
|
||||||
trigger:
|
- at: 09:00:00
|
||||||
# - platform: time
|
trigger: time
|
||||||
# at: "08:00:00"
|
- at: '10:00:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "09:00:00"
|
- at: '10:15:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "10:00:00"
|
- at: '11:00:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "10:15:00"
|
- at: '12:00:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "11:00:00"
|
- at: '12:30:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "12:00:00"
|
- at: '13:00:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "12:30:00"
|
- at: '13:30:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "13:00:00"
|
- at: '14:00:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "13:30:00"
|
- at: '19:29:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "14:00:00"
|
|
||||||
- platform: time
|
|
||||||
at: "14:30:00"
|
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ state_attr(''calendar.m365_family_events'', ''message'') ==
|
value_template: '{{ (state_attr(''calendar.family_events'', ''message'') | lower)
|
||||||
''No Camp'' }}'
|
== ''no camp'' }}'
|
||||||
action:
|
actions:
|
||||||
- variables:
|
- variables:
|
||||||
messages:
|
messages:
|
||||||
"08:00:00": "Time for breakfast and a little TV!"
|
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."
|
09:00:00: Outside play time! If it’s bad weather, do your learning activities
|
||||||
"10:00:00": "Snack time!"
|
inside.
|
||||||
"10:15:00": "Time for quiet play or outside fun."
|
'10:00:00': Snack time!
|
||||||
"11:00:00": "Creative time! Draw, color, or write something cool!"
|
'10:15:00': Time for quiet play or outside fun.
|
||||||
"12:00:00": "Lunch time! Wash up and head to the table."
|
'11:00:00': Creative time! Draw, color, or write something cool!
|
||||||
"12:30:00": "Happy Helper Time! Do your chores like a champ!"
|
'12:00:00': Lunch time! Wash up and head to the table.
|
||||||
"13:00:00": "TV break — relax and enjoy."
|
'12:30:00': Happy Helper Time! Do your chores like a champ!
|
||||||
"13:30:00": "Time to read a book or listen to a story."
|
'13:00:00': TV break — relax and enjoy.
|
||||||
"14:00:00": "Let’s move! Try a Minecraft brain break!"
|
'13:30:00': Time to read a book or listen to a story.
|
||||||
"14:30:00": "Time to relax with mindfulness or yoga."
|
'14:00:00': Let’s move! Try a Minecraft brain break!
|
||||||
- service: notify.alexa_media
|
'14:30:00': Time to relax with mindfulness or yoga.
|
||||||
|
'19:29:00': Turds.
|
||||||
|
- data:
|
||||||
|
target:
|
||||||
|
- media_player.living_room
|
||||||
|
- media_player.jordyn_s_room
|
||||||
|
- media_player.chloe_s_room
|
||||||
|
- media_player.declan_s_room
|
||||||
|
- media_player.kitchen
|
||||||
|
message: '{{ messages[now().strftime(''%H:%M:%S'')] }}'
|
||||||
data:
|
data:
|
||||||
target:
|
type: announce
|
||||||
- media_player.living_room
|
method: all
|
||||||
- media_player.jordyn_s_room
|
action: notify.alexa_media
|
||||||
- media_player.chloe_s_room
|
mode: single
|
||||||
- media_player.declan_s_room
|
|
||||||
- media_player.kitchen
|
|
||||||
- media_player.tv_alexa
|
|
||||||
# - media_player.basement_show
|
|
||||||
message: "{{ messages[now().strftime('%H:%M:%S')] }}"
|
|
||||||
data:
|
|
||||||
type: announce
|
|
||||||
method: all
|
|
||||||
- id: '1744503044813'
|
- id: '1744503044813'
|
||||||
alias: Announce day camp preparation and pause TV
|
alias: Announce day camp preparation and pause TV
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '08:30:00'
|
at: 08:30:00
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: "{{ 'camp' in (state_attr('calendar.family_events', 'message')
|
||||||
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
| lower) and \n 'no' not in (state_attr('calendar.family_events', 'message')
|
||||||
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
| lower) }}\n"
|
||||||
action:
|
action:
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
data:
|
data:
|
||||||
media_content_id: Pause kids TV
|
media_content_id: Pause kids TV
|
||||||
media_content_type: routine
|
media_content_type: routine
|
||||||
|
target:
|
||||||
|
entity_id: media_player.kitchen_echo
|
||||||
|
- service: notify.alexa_media
|
||||||
|
data:
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.kitchen_echo
|
- media_player.living_room
|
||||||
- service: notify.alexa_media
|
- media_player.declan_s_room
|
||||||
data:
|
- media_player.jordyn_s_room
|
||||||
target:
|
- media_player.kitchen
|
||||||
- media_player.living_room
|
- media_player.tv_alexa
|
||||||
- media_player.declan_s_room
|
message: 'Time to prepare for day camp. Please do the following: Fill water
|
||||||
- media_player.jordyn_s_room
|
bottles, Put on deodorant, Brush hair for Jordyn, Brush teeth.'
|
||||||
- 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."
|
|
||||||
- id: '1744503044814'
|
- id: '1744503044814'
|
||||||
alias: Announce time to leave for day camp and turn off TV
|
alias: Announce time to leave for day camp and turn off TV
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '08:45:00'
|
at: 08:45:00
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: "{{ 'camp' in (state_attr('calendar.family_events', 'message')
|
||||||
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
| lower) and \n 'no' not in (state_attr('calendar.family_events', 'message')
|
||||||
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
| lower) }}\n"
|
||||||
action:
|
action:
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
data:
|
data:
|
||||||
media_content_id: Turn Kids TV Off
|
media_content_id: Turn Kids TV Off
|
||||||
media_content_type: routine
|
media_content_type: routine
|
||||||
|
target:
|
||||||
|
entity_id: media_player.basement_show
|
||||||
|
- service: notify.alexa_media
|
||||||
|
data:
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.basement_show
|
- media_player.living_room
|
||||||
- service: notify.alexa_media
|
- media_player.declan_s_room
|
||||||
data:
|
- media_player.jordyn_s_room
|
||||||
target:
|
- media_player.kitchen
|
||||||
- media_player.living_room
|
- media_player.tv_alexa
|
||||||
- media_player.declan_s_room
|
message: 'It is time to leave for day camp. Please do the following: Put on
|
||||||
- media_player.jordyn_s_room
|
shoes, Get lunch, Get water bottle, Get bag if needed.'
|
||||||
- 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."
|
|
||||||
- id: '1744503044145'
|
- id: '1744503044145'
|
||||||
alias: Reet Alexa Announcement Volume - Camp Days
|
alias: Reet Alexa Announcement Volume - Camp Days
|
||||||
description: Set Alexa announcement volume for structured daily routine
|
description: Set Alexa announcement volume for structured daily routine
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: "09:15:00"
|
at: 09:15:00
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: "{{ 'camp' in (state_attr('calendar.family_events', 'message')
|
||||||
{{ 'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
| lower) and \n 'no' not in (state_attr('calendar.family_events', 'message')
|
||||||
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
| lower) }}\n"
|
||||||
action:
|
action:
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
data:
|
data:
|
||||||
media_content_id: Reset Alexa Volume
|
media_content_id: Reset Alexa Volume
|
||||||
media_content_type: routine
|
media_content_type: routine
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.basement_show
|
entity_id: media_player.basement_show
|
||||||
- id: '1744503044146'
|
- id: '1744503044146'
|
||||||
alias: Reset Alexa Announcement Volume - No Camp Days
|
alias: Reset Alexa Announcement Volume - No Camp Days
|
||||||
description: Set Alexa announcement volume for structured daily routine
|
description: Set Alexa announcement volume for structured daily routine
|
||||||
mode: single
|
triggers:
|
||||||
trigger:
|
- at: '19:17:00'
|
||||||
- platform: time
|
trigger: time
|
||||||
at: "15:15:00"
|
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.m365_family_events
|
entity_id: calendar.m365_family_events
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: '{{ ''no camp'' in (state_attr(''calendar.family_events'', ''message'')
|
||||||
{{ 'no camp' in (state_attr('calendar.family_events', 'message') | lower) }}
|
| lower) }}
|
||||||
action:
|
|
||||||
- service: media_player.play_media
|
'
|
||||||
data:
|
actions:
|
||||||
media_content_id: Reset Alexa Volume
|
- data:
|
||||||
media_content_type: routine
|
media_content_id: Reset Alexa Volume
|
||||||
target:
|
media_content_type: routine
|
||||||
entity_id: media_player.basement_show
|
target:
|
||||||
|
entity_id: media_player.basement_show
|
||||||
|
action: media_player.play_media
|
||||||
|
mode: single
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ frontend:
|
|||||||
themes: !include_dir_merge_named themes
|
themes: !include_dir_merge_named themes
|
||||||
|
|
||||||
automation: !include automations.yaml
|
automation: !include automations.yaml
|
||||||
script: !include scripts.yaml
|
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
input_boolean: !include input_boolean.yaml
|
input_boolean: !include input_boolean.yaml
|
||||||
http:
|
http:
|
||||||
|
|||||||
Reference in New Issue
Block a user