Temperature Drop Sensor

HI,

I Have a water heater temperature sensor and I want to create a template sensor or automation that turn on when theres a drop of more then 10 degrees in a period of 10 minutes.
It’s Possible?

Thank You

Then:

template:
  - binary_sensor:
      - name: water heater temp drop
        state: >
          {{ state_attr('sensor.water_temp_history', 'min10') -
             states('sensor.water_temp_history')|float(0) > 10 }}
1 Like
1 Like

Thank You!

Thank You I didnt know about it