Hi all,
I have made an automation that lower my floor heating at night and up it in the morning. And this is working fine until i change the set-temp.
So what i am wondering is. How can i make this automation adjust my set-temp +/- X degrees based on the current set-temp?
hvac_modes:
- 'off'
- heat
min_temp: 5
max_temp: 35
current_temperature: 25
temperature: 20 <--------------This one
current_humidity: 24.2
hvac_action: idle
friendly_name: Stue
supported_features: 1
I assume i have to use some sort of template, but thats where my skills are limited.
alias: Nattsenking gulvvarme stue
description: ''
trigger:
- platform: time
at: input_datetime.nattsenking_natt
id: '1'
- platform: time
at: input_datetime.nattsenking_morgen
id: '2'
condition:
- condition: state
entity_id: climate.general_thermostat_v2_mode
state: heat
attribute: hvac_modes
action:
- choose:
- conditions:
- condition: trigger
id: '1'
sequence:
- service: climate.set_temperature
data:
temperature: 20
target:
entity_id: climate.general_thermostat_v2_mode
- conditions:
- condition: trigger
id: '2'
sequence:
- service: climate.set_temperature
data:
temperature: 22
target:
entity_id: climate.general_thermostat_v2_mode
default: []
mode: single