What I am trying to accomplish:
This is for my cottage when I am not there.
When temp drops below 11.8 deg C and its between 7pm and 7am (cheaper electricity at night)
Then slowly heat up (heat pump will kick on backup propane if the differential is greater then 2 deg.
Once the temp is 15 deg, stop and change the set point back to 10 deg, also want it to stop at 7am regardless and change the set point back to 10deg.
I have a feeling the way I have it will not work how I want it to, specifically the ending, should it be waiting until instead?
alias: Slow heat - away
description: ""
trigger:
- platform: numeric_state
entity_id: climate.upstairs
attribute: current_temperature
below: 11.8
condition:
- condition: time
before: "07:00:00"
after: "19:00:00"
action:
- service: climate.set_temperature
data_template:
entity_id: climate.upstairs
temperature: "{{(state_attr('climate.upstairs' , 'current_temperature')) + 1 }}"
- repeat:
sequence:
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- service: climate.set_temperature
data_template:
entity_id: climate.upstairs
temperature: "{{(state_attr('climate.upstairs' , 'current_temperature')) + 1 }}"
until:
- condition: numeric_state
entity_id: climate.upstairs
attribute: current_temperature
above: 15
- if:
- condition: or
conditions:
- condition: time
before: "00:00:00"
after: "06:55:00"
- condition: numeric_state
entity_id: climate.upstairs
attribute: current_temperature
above: 14.5
then:
- service: climate.set_temperature
data:
temperature: 10
target:
entity_id: climate.upstairs
mode: single