Add HVAC Vacation Automation

This commit is contained in:
2023-07-11 08:27:07 -07:00
parent 3e64835a30
commit 5a9e5cce3a

View File

@@ -168,3 +168,17 @@ automation:
data: data:
target_temp_high: "{{ states('input_number.temp_setpoint_day_high')|float }}" target_temp_high: "{{ states('input_number.temp_setpoint_day_high')|float }}"
target_temp_low: "{{ states('input_number.temp_setpoint_day_low')|float }}" target_temp_low: "{{ states('input_number.temp_setpoint_day_low')|float }}"
- alias: Widen HVAC Range during Vacation
mode: queued
trigger:
- platform: state
entity_id: input_select.house_presence_state
to: 'Extended Away'
action:
- service: climate.set_temperature
target:
entity_id: climate.thermostat
data:
target_temp_high: "{{ states('input_number.temp_setpoint_away_high')|float }}"
target_temp_low: "{{ states('input_number.temp_setpoint_away_low')|float }}"