diff --git a/automations/07_climate_and_plugs.yaml b/automations/07_climate_and_plugs.yaml index 6400102..ef4f8bc 100644 --- a/automations/07_climate_and_plugs.yaml +++ b/automations/07_climate_and_plugs.yaml @@ -62,6 +62,24 @@ title: Dehumidifier tank is full message: Dehumidifier tank is full — Dehumidifer outlet has been turned off. +- id: ac_tank_full_shutoff + alias: AC Tank Full - Shut Off Office AC Power + description: When the AC Tank Sensor detects water, turn off the Office AC Power outlet and send an alerts-channel notification. + mode: single + triggers: + - trigger: state + entity_id: binary_sensor.ac_tank_sensor_moisture + to: 'on' + conditions: [] + actions: + - action: switch.turn_off + target: + entity_id: switch.studio_plug_2 + - action: notify.notify_events_alerts + data: + title: AC tank is full + message: AC Tank Sensor detected water — Office AC Power outlet has been turned off. + - id: dehumidifier_tank_sensor_low_battery alias: Dehumidifier Tank Sensor Low Battery description: Alert when the dehumidifier tank level sensor battery is at 10% or lower. @@ -76,3 +94,18 @@ data: title: Dehumidifier tank sensor battery low message: Dehumidifier tank level sensor battery is at {{ states('sensor.water_leak_sensor_battery') }}%. Replace soon. + +- 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: notify.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.