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