The following template binary_sensor activates immediately that the humidity goes above 70. I would like it to only adtivate if the humidity has been over 70 for 48hours. As I understand it, that is what the delay_on command is supposed to do. Any ideas what’s wrong here?
binary_sensor:
- platform: template
sensors:
garage_humidity_high:
value_template: "{{ states('sensor.humidity_158d0004252327')|float > 70 }}"
delay_on:
hours: 48
friendly_name: "Garage Humidity High"
device_class: moisture