Binary sensor that changes if entity is within Threshold for 1 minute

Please excuse my ignorance, I’m quite new to home assistant. I did try to research what I’m looking to do but it seems that I don’t know enough to get me the rest of the way there.

I’m looking to create a Binary sensor Entity that will only change if another entity is within a Threshold for 1 minute.

I’ve found the Threshold Helper but this will change immediately when the value is within range. I’d like it to wait 1 minute before going to true as long as each value is within that range for the full minute.

More specifically:
Hysteresis: 0
Lower Limit: 0.05
Upper Limit: 0.055

If it’s within this range for 1 minute, change binary to true. As soon as it falls outside, it’s False.

It seems that I might be able to do this with Jinja but I cant find where to edit the yaml for this helper, even if I did find it I wouldn’t know where to start. Can anyone push me in the right direction?

template:
  - trigger:
      - platform: state
        entity_id: "sensor.another_entity"
        to: "Threshold"
        for:
          minutes: 1
    sensor:
      - name: "Binary sensor entity"
        unique_id: "Binary sensor entity"
        state: "on"

As always. it’s better to be specific

Thank you! Can I do this in the webUI or should I put it in one of the .yaml files?

Configuration.yaml.
Triggered templates is not yet available in UI

Notice I just edited the code. I missed some indentations.