Glad to hear it.
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title and add a link to your first post that leads to the Solution. This helps users find answers to similar questions.
For more information about the Solution tag, refer to Guideline 21 in the FAQ.
Give me a few minutes. The community forum is sluggish (reportedly under heavy load; you may have noticed that your last post was duplicated) and posting is challenging.
EDIT 1
Use this service call in your automation. The template return a boolean true
(aux heat on) if the delta is greater than 1
otherwise it returns boolean false
(aux heat off).
- service: climate.set_aux_heat
data:
aux_heat: >
{% set thermostat = 'climate.my_ecobee_3' %}
{% set current = state_attr(thermostat, 'current_temperature') %}
{% set target = state_attr(thermostat, 'temperature') %}
{{ target - current > 1 }}
target:
entity_id: climate.my_ecobee_3
EDIT 2
Amendment. Added the balance of the service call, namely the target
.
EDIT 3
Correction. Added missing closing parenthesis on lines 2 and 3 of the aux_heat
template.