Files
Home-Assistant/automations/07_climate_and_plugs/07c_ac_tank_alerts.yaml
T

30 lines
881 B
YAML
Raw Normal View History

- id: ac_tank_full_shutoff
alias: AC Tank Full
description: Alert when the AC tank sensor is wet. This does not switch an outlet.
mode: single
triggers:
- trigger: state
entity_id: binary_sensor.ac_tank_sensor_moisture
to: "on"
conditions: []
actions:
- action: script.notify_events_alerts
data:
title: AC tank is full
message: AC tank sensor detected water.
- id: ac_tank_sensor_low_battery
alias: AC Tank Sensor Low Battery
description: Alert when the AC tank sensor battery is at 10% or lower.
mode: single
triggers:
- trigger: numeric_state
entity_id: sensor.ac_tank_sensor_battery
below: 10.1
conditions: []
actions:
- action: script.notify_events_alerts
data:
title: AC tank sensor battery low
message: AC Tank Sensor battery is at {{ states('sensor.ac_tank_sensor_battery') }}%. Replace soon.