Add Templates for Climate Change Times

This commit is contained in:
2022-10-30 11:04:42 -07:00
parent 6e5eddc243
commit 26622384e7
2 changed files with 14 additions and 71 deletions

View File

@@ -51,6 +51,18 @@ input_number:
max: 90
step: 1
input_datetime:
hvac_start_day:
name: HVAC Daytime Start
initial: '10:00'
has_date: false
has_time: true
hvac_start_night:
name: HVAC Nighttime Start
initial: '20:00'
has_date: false
has_time: true
template:
binary_sensor:
- name: HVAC Fan Running
@@ -133,7 +145,7 @@ automation:
mode: queued
trigger:
- platform: time
at: "20:00"
at: "{{ states('input_datetime.hvac_start_night') }}"
action:
- service: climate.set_temperature
target:
@@ -146,7 +158,7 @@ automation:
mode: queued
trigger:
- platform: time
at: "10:00"
at: "{{ states('input_datetime.hvac_start_day') }}"
action:
- service: climate.set_temperature
target: