Template Binary Sensor Delay On

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?

  - platform: template
        value_template: "{{ states('sensor.humidity_158d0004252327')|float > 70 }}"
          hours: 48
        friendly_name: "Garage Humidity High"
        device_class: moisture

Code looks fine. Did you reload template sensors after adding the delay? Could be that it doesn’t support delays > 24 hours, but I don’t know the details. Did you try if it behaves the same way with a short delay of a few minutes?

I’ve reloaded Home Assistant entirely with no change. I haven’t tried it with a short delay i’ll see if that works.