Files
Home-Assistant/blueprints/automation/local/litter_low_notification.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

42 lines
1.0 KiB
YAML

blueprint:
name: Litter level - low notification
description: Notify once after a numeric litter level stays at or below its threshold for two minutes. Refilling above the threshold rearms the alert.
domain: automation
input:
litter_sensor:
name: Litter level sensor
selector:
entity:
domain: sensor
threshold:
name: Low level threshold (inclusive)
default: 65
selector:
number:
min: 0
max: 100
title:
name: Notification title
selector:
text: {}
message:
name: Notification message
selector:
text: {}
trigger_variables:
litter_sensor: !input litter_sensor
threshold: !input threshold
triggers:
- trigger: template
value_template: >-
{{ is_number(states(litter_sensor))
and states(litter_sensor) | float(101) <= threshold | float(65) }}
for: '00:02:00'
conditions: []
actions:
- action: notify.notify_events_cats
data:
title: !input title
message: !input message
mode: single