Notification if heating is ON but temp not rising

Hi folks.

Totally new to all of this, so bear with.

I have a Nest thermostat integrated into HA and I’m trying to write something that will warn me if the Nest is calling for heat but the temperature isn’t rising.

Use case: church heating had tripped out this morning. The call for heat from the thermostat had been on since 5am but no temp increase.

Thanks

How long does it take to heat up?

You could do something like this. I’ve made up the entity ids as you did not tell us what they were. So you will have to change them.

trigger:
  - platform: state
    entity_id: climate.church_nest 
    to: heat
    for:
      seconds: 0  # change this to the time it takes to heat the church
      minutes: 0
      hours: 1
condition:
  - condition: template
    value_template: >
      {{ states('sensor.church_temperature')|float(0) + 5 > state_attr('climate.church_nest','temperature')|float(0) }}
action:
  - service: notify.someones_mobile
    data:
      message: >
        The church climate heating is active but the temperature is not within 5°C after an hour.

        Set point: {{ state_attr('climate.church_nest','temperature') }} °C

        Actual Temperature: {{ states('sensor.church_temperature') }} °C

This waits however long it normally takes the church to heat up after the climate heating is turned on then checks if the actual temperature is within 5° of the set point. If not it notifies someone.

1 Like