Automation numeric condition for X time?

I wonder if someone knows a way of doing this:

  - platform: numeric_state
    entity_id: sensor.energy_acloads_ev_power
    above: 100
  - condition: and
      - condition: state
        entity_id: sensor.openevse_divert_mode
        state: eco
      - condition: state
        entity_id: sensor.energy_pvsources_excess
        state: "0"
      - condition: numeric_state
        entity_id: sensor.energy_battery_power
        below: -1000
          minutes: 2        <------

Or that the whole condition block tests true for 2 minutes.

The only way you could do that would be to create a template (binary) sensor that’s on (or off) when the sensor is below -1000, and use that in a state condition.