Add Templates for Climate Change Times
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user