Files
Home-Assistant/scripts.yaml
T
Joshua King f2514f8b22 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.
2026-10-02 08:57:53 -04:00

68 lines
1.6 KiB
YAML

check_day_camp:
alias: Check Day Camp
sequence:
- condition: template
value_template: "{{ has_value('binary_sensor.day_camp_today') }}"
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.day_camp_today
state: 'on'
sequence:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.day_camp_today
default:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.day_camp_today
mode: restart
notify_events_alerts:
alias: Notify.Events Alerts
mode: queued
max: 20
fields:
message:
required: true
selector:
text:
title:
selector:
text:
sequence:
- action: notify.notify_events_alerts
data:
message: "{{ message }}"
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({}) }}"