Files
Home-Assistant/blueprints/automation/local/litter_binary_notification.yaml
T

30 lines
644 B
YAML
Raw Normal View History

blueprint:
name: Litter box - binary alert notification
description: Notify the cats channel when a litter-box waste-bin or error flag turns on.
domain: automation
input:
alert_sensor:
name: Alert sensor
selector:
entity:
domain: binary_sensor
title:
name: Notification title
selector:
text: {}
message:
name: Notification message
selector:
text: {}
triggers:
- trigger: state
entity_id: !input alert_sensor
to: 'on'
conditions: []
actions:
- action: notify.notify_events_cats
data:
title: !input title
message: !input message
mode: queued