# Climate and plug automations. - id: hermes_ac_controls_matter_plugs alias: AC controls Matter plugs description: Turn the four Tapo Matter plugs on while the Ecobee is actively cooling, and off when cooling stops. mode: restart triggers: - trigger: state entity_id: climate.meat_heater attribute: hvac_action to: cooling id: ac_on - trigger: state entity_id: climate.meat_heater attribute: hvac_action from: cooling id: ac_off conditions: [] actions: - choose: - conditions: - condition: trigger id: ac_on sequence: - action: switch.turn_on continue_on_error: true target: entity_id: - switch.smart_wi_fi_plug - switch.smart_wi_fi_plug_2 - switch.smart_wi_fi_plug_3 - switch.smart_wi_fi_plug_4 - conditions: - condition: trigger id: ac_off sequence: - action: switch.turn_off continue_on_error: true target: entity_id: - switch.smart_wi_fi_plug - switch.smart_wi_fi_plug_2 - switch.smart_wi_fi_plug_3 - switch.smart_wi_fi_plug_4 - id: dehumidifier_tank_full_shutoff alias: Dehumidifier Tank Full - Shut Off Parents Window Fan description: When the dehumidifier tank level sensor detects water, turn off the Parents Window Fan outlet and send an alerts-channel notification. mode: single triggers: - trigger: state entity_id: binary_sensor.water_leak_sensor_moisture to: 'on' conditions: [] actions: - action: switch.turn_off target: entity_id: switch.parents_window_fan - action: notify.notify_events_alerts data: title: Dehumidifier tank is full message: Dehumidifier tank is full — Parents Window Fan outlet has been turned off.