Good morning all!
I have four Carrier Ductless Mini-Splits installed in my home and they are connected to HA. I have it set up so that the heads turn on and off based on the ecobee thermostats in each of the rooms.
For efficiency and sanity, I also have it monitoring for the state of the windows and doors in the house. If the AC or Heat is running and a door or window is opened, it shuts off the Heat or AC. This is working perfectly fine. What I cannot figure out, though, is how to trigger it to resume the Heat or AC upon the doors or windows being closed again.
I would like some assistance from you wonderful people. Below is one of the automations (hopefully formatted correctly):
alias: Kitchen Carrier Controls
description: Handles Heat/Cool modes and set-points for the Kitchen
trigger:
- alias: AC On Over 74
platform: device
device_id: ffde3966021fd46b417b11031e7fc459
domain: climate
entity_id: 0256d4dc8f58b32843a9b1cee1666cd7
type: current_temperature_changed
id: ac_on
above: 74
- alias: AC Off Below 72
platform: device
device_id: ffde3966021fd46b417b11031e7fc459
domain: climate
entity_id: 0256d4dc8f58b32843a9b1cee1666cd7
type: current_temperature_changed
id: ac_off
below: 72
- alias: Heat On Below 64
platform: device
device_id: ffde3966021fd46b417b11031e7fc459
domain: climate
entity_id: 0256d4dc8f58b32843a9b1cee1666cd7
type: current_temperature_changed
id: heat_on
below: 64
- alias: Heat Off Over 68
platform: device
device_id: ffde3966021fd46b417b11031e7fc459
domain: climate
entity_id: 0256d4dc8f58b32843a9b1cee1666cd7
type: current_temperature_changed
id: heat_off
above: 68
- platform: state
entity_id:
- binary_sensor.house_windows_doors
to: "on"
id: door_open
condition: []
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- ac_on
- condition: state
entity_id: input_select.carrier_mode
state: Cool
- condition: numeric_state
entity_id: climate.kitchen_carrier
above: 72
attribute: current_temperature
sequence:
- device_id: c09dbff29c67d22d14b8539b179007bc
domain: climate
entity_id: 7b6ff5533eed9e3fef3dec67c4f0466d
type: set_hvac_mode
hvac_mode: cool
- metadata: {}
data:
temperature: 72
target:
entity_id:
- climate.kitchen_carrier
action: climate.set_temperature
alias: AC On
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- ac_off
- door_open
sequence:
- device_id: c09dbff29c67d22d14b8539b179007bc
domain: climate
entity_id: 7b6ff5533eed9e3fef3dec67c4f0466d
type: set_hvac_mode
hvac_mode: "off"
alias: AC Off
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- heat_on
- condition: state
entity_id: input_select.carrier_mode
state: Heat
- condition: numeric_state
entity_id: climate.kitchen_carrier
below: 68
attribute: current_temperature
sequence:
- device_id: c09dbff29c67d22d14b8539b179007bc
domain: climate
entity_id: 7b6ff5533eed9e3fef3dec67c4f0466d
type: set_hvac_mode
hvac_mode: heat
- metadata: {}
data:
temperature: 68
target:
entity_id:
- climate.kitchen_carrier
action: climate.set_temperature
alias: Heat On
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- heat_off
- door_open
sequence:
- device_id: c09dbff29c67d22d14b8539b179007bc
domain: climate
entity_id: 7b6ff5533eed9e3fef3dec67c4f0466d
type: set_hvac_mode
hvac_mode: "off"
alias: Heat Off
mode: single