1
0
ansible-home-assistant/configuration/automations/info-leak.yaml

22 lines
601 B
YAML
Raw Normal View History

2022-04-24 22:35:51 +00:00
- id: info-leak-notice
alias: '[INFO] Leak notice'
mode: single
trigger:
- platform: state
entity_id: binary_sensor.coffee_machine_leak_sensor
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_sink_leak_sensor
2022-04-24 22:35:51 +00:00
to: 'on'
- platform: state
entity_id: binary_sensor.washing_machine_water_leak_sensor
to: 'on'
action:
2022-10-19 20:25:52 +00:00
- service: notify.mobile_app_iphone
2022-04-24 22:35:51 +00:00
data:
title: "Leak detection"
message: >
Leak detected: {{ state_attr(trigger.entity_id, 'friendly_name') }}
data:
importance: high