30 lines
644 B
YAML
30 lines
644 B
YAML
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
|