Update Climate Package

This commit is contained in:
2022-06-04 14:36:49 -07:00
parent 926459c9fd
commit f76c9dfba8

View File

@@ -11,13 +11,14 @@ input_select:
- Away
- 'Off'
- Manual
- Paused
# -----------------------------------------------------------------------------
# Climate Automations
automation:
# Automations for Open Windows/Doors
- alias: Turn off HVAC when Doors/Windows Open
- alias: Pause HVAC when Doors/Windows Open
mode: queued
trigger:
- platform: state
@@ -30,17 +31,24 @@ automation:
to: 'on'
for:
minutes: 5
condition: "{{ not is_state('input_select.climate_control_mode', 'Paused') }}"
action:
- service: scene.create
data:
scene_id: hvac_restore_state
snapshot_entities:
climate.thermostat
input_select.climate_control_mode
- service: climate.set_hvac_mode
target:
entity_id: climate.thermostat
data:
hvac_mode: "off"
- service: input_select.select_option
target:
entity_id: input_select.climate_control_mode
data:
option: Paused
- alias: Restore HVAC when Doors/Windows Closed
mode: queued
@@ -57,6 +65,7 @@ automation:
to: 'off'
for:
minutes: 5
condition: "{{ is_state('input_select.climate_control_mode', 'Paused') }}"
action:
- service: scene.turn_on
target: