Add Templates for Climate Setpoints
This commit is contained in:
@@ -13,6 +13,44 @@ input_select:
|
|||||||
- Manual
|
- Manual
|
||||||
- Paused
|
- Paused
|
||||||
|
|
||||||
|
input_number:
|
||||||
|
temp_setpoint_day_high:
|
||||||
|
name: Temperature Setpoint Day (High)
|
||||||
|
initial: 74
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
temp_setpoint_day_low:
|
||||||
|
name: Temperature Setpoint Day (Low)
|
||||||
|
initial: 70
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
temp_setpoint_night_high:
|
||||||
|
name: Temperature Setpoint Night (High)
|
||||||
|
initial: 76
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
temp_setpoint_night_low:
|
||||||
|
name: Temperature Setpoint Night (Low)
|
||||||
|
initial: 70
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
temp_setpoint_away_high:
|
||||||
|
name: Temperature Setpoint Away (High)
|
||||||
|
initial: 80
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
temp_setpoint_away_low:
|
||||||
|
name: Temperature Setpoint Away (Low)
|
||||||
|
initial: 66
|
||||||
|
min: 60
|
||||||
|
max: 90
|
||||||
|
step: 1
|
||||||
|
|
||||||
template:
|
template:
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- name: HVAC Fan Running
|
- name: HVAC Fan Running
|
||||||
@@ -91,32 +129,6 @@ automation:
|
|||||||
data:
|
data:
|
||||||
message: HVAC Restored (Window or Door Open)
|
message: HVAC Restored (Window or Door Open)
|
||||||
|
|
||||||
- alias: Widen HVAC Range During On-Peak Time
|
|
||||||
mode: queued
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: "20:00"
|
|
||||||
action:
|
|
||||||
- service: climate.set_temperature
|
|
||||||
target:
|
|
||||||
entity_id: climate.thermostat
|
|
||||||
data:
|
|
||||||
target_temp_high: 76.0
|
|
||||||
target_temp_low: 68.0
|
|
||||||
|
|
||||||
- alias: Widen HVAC Range During Work Day
|
|
||||||
mode: queued
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: "20:00"
|
|
||||||
action:
|
|
||||||
- service: climate.set_temperature
|
|
||||||
target:
|
|
||||||
entity_id: climate.thermostat
|
|
||||||
data:
|
|
||||||
target_temp_high: 76.0
|
|
||||||
target_temp_low: 68.0
|
|
||||||
|
|
||||||
- alias: Widen HVAC Range at Night
|
- alias: Widen HVAC Range at Night
|
||||||
mode: queued
|
mode: queued
|
||||||
trigger:
|
trigger:
|
||||||
@@ -127,8 +139,8 @@ automation:
|
|||||||
target:
|
target:
|
||||||
entity_id: climate.thermostat
|
entity_id: climate.thermostat
|
||||||
data:
|
data:
|
||||||
target_temp_high: 76.0
|
target_temp_high: "{{ states('input_number.temp_setpoint_night_high')|float }}"
|
||||||
target_temp_low: 68.0
|
target_temp_low: "{{ states('input_number.temp_setpoint_night_low')|float }}"
|
||||||
|
|
||||||
- alias: Narrow HVAC Range during Day
|
- alias: Narrow HVAC Range during Day
|
||||||
mode: queued
|
mode: queued
|
||||||
@@ -140,24 +152,5 @@ automation:
|
|||||||
target:
|
target:
|
||||||
entity_id: climate.thermostat
|
entity_id: climate.thermostat
|
||||||
data:
|
data:
|
||||||
target_temp_high: 74.0
|
target_temp_high: "{{ states('input_number.temp_setpoint_day_high')|float }}"
|
||||||
target_temp_low: 70.0
|
target_temp_low: "{{ states('input_number.temp_setpoint_day_low')|float }}"
|
||||||
|
|
||||||
- alias: Narrow HVAC Range After Work
|
|
||||||
mode: queued
|
|
||||||
trigger:
|
|
||||||
- platform: zone
|
|
||||||
entity_id: person.jen
|
|
||||||
zone: !secret jen_work_zone
|
|
||||||
event: leave
|
|
||||||
- platform: zone
|
|
||||||
entity_id: person.jpk
|
|
||||||
zone: !secret jp_work_zone
|
|
||||||
event: leave
|
|
||||||
action:
|
|
||||||
- service: climate.set_temperature
|
|
||||||
target:
|
|
||||||
entity_id: climate.thermostat
|
|
||||||
data:
|
|
||||||
target_temp_high: 74.0
|
|
||||||
target_temp_low: 70.0
|
|
||||||
|
|||||||
Reference in New Issue
Block a user