Add holiday and kids' automation scripts, including notifications and schedules
- Introduced holiday automations for Christmas and Halloween, including turning decorations on/off and playing music. - Added day camp announcements and reminders for kids, including preparation and departure notifications. - Created specific automation scripts for Declan and Jordyn, focusing on medication reminders and school preparations. - Implemented daily schedules for kids during summer, with structured activities and announcements. - Added blueprints for litter notifications and tank moisture interlocks to enhance home automation. - Established a family schedule package to manage school dates and events effectively.
This commit is contained in:
+35
-12
@@ -1,13 +1,13 @@
|
||||
check_day_camp:
|
||||
alias: Check Day Camp
|
||||
sequence:
|
||||
- condition: template
|
||||
value_template: "{{ has_value('binary_sensor.day_camp_today') }}"
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ states('calendar.family_events') == 'on' and
|
||||
'camp' in (state_attr('calendar.family_events', 'message') | lower) and
|
||||
'no' not in (state_attr('calendar.family_events', 'message') | lower) }}
|
||||
- condition: state
|
||||
entity_id: binary_sensor.day_camp_today
|
||||
state: 'on'
|
||||
sequence:
|
||||
- service: input_boolean.turn_on
|
||||
target:
|
||||
@@ -17,16 +17,12 @@ check_day_camp:
|
||||
target:
|
||||
entity_id: input_boolean.day_camp_today
|
||||
|
||||
- service: system_log.write
|
||||
data:
|
||||
message: >
|
||||
Calendar Check: State={{ states('calendar.family_events') }},
|
||||
Message={{ state_attr('calendar.family_events', 'message')
|
||||
| default('') }}
|
||||
level: debug
|
||||
mode: restart
|
||||
|
||||
notify_events_alerts:
|
||||
alias: Notify.Events Alerts
|
||||
mode: queued
|
||||
max: 20
|
||||
fields:
|
||||
message:
|
||||
required: true
|
||||
@@ -42,3 +38,30 @@ notify_events_alerts:
|
||||
title: "{{ title | default('Home Assistant') }}"
|
||||
data:
|
||||
token: !secret notify_event_alerts_token
|
||||
|
||||
family_announcement:
|
||||
alias: Family Announcement
|
||||
description: Deliver family announcements in order, with common Alexa settings.
|
||||
mode: queued
|
||||
max: 20
|
||||
fields:
|
||||
targets:
|
||||
required: true
|
||||
selector:
|
||||
entity:
|
||||
domain: media_player
|
||||
multiple: true
|
||||
message:
|
||||
required: true
|
||||
selector:
|
||||
text: {}
|
||||
delivery:
|
||||
description: Optional Alexa delivery options, such as type and method.
|
||||
selector:
|
||||
object: {}
|
||||
sequence:
|
||||
- action: notify.alexa_media
|
||||
data:
|
||||
target: "{{ targets }}"
|
||||
message: "{{ message }}"
|
||||
data: "{{ delivery | default({}) }}"
|
||||
|
||||
Reference in New Issue
Block a user