Environment Agency - numeric_state condition

I’m trying to get an alert when the local bridge goes above and below certain points - the example below is for it dropping (when the bridge reopens).

I’m getting the following in the error logs:

Error initializing 'Alerts - Eckington River - Dropped' trigger: In 'numeric_state' condition: entity sensor.eckington_sluice_water_level_stage state 'This uses Environment Agency flood and river level data from the real-time data API' cannot be processed as a number

Any ideas?
Thanks

This in the automation YAML:

alias: Alerts - Eckington River - Dropped
description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.eckington_sluice_water_level_stage
    attribute: attribution
    below: 3.2
conditions: []
actions:
  - action: notify.mobile_app_jamesphone
    metadata: {}
    data:
      message: Eckington Bridge is possibly open... check!
mode: single

Not sure what is wrong with yours but this is how I do my warnings. I don’t send a notification, but just toggles a helper.

alias: Llanyblodwel Flood
description: ""
mode: single
triggers:
  - entity_id:
      - sensor.llanyblodwel_water_level_stage
    trigger: state
conditions: []
actions:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.llanyblodwel_water_level_stage
            above: 1.05
        sequence:
          - data: {}
            target:
              entity_id: input_boolean.llanyblodewel_flood
            action: input_boolean.turn_on
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.llanyblodwel_water_level_stage
            below: 1.05
        sequence:
          - data: {}
            target:
              entity_id: input_boolean.llanyblodewel_flood
            action: input_boolean.turn_off

It might help?

Remove the attribute: attribution. If you’re using the UI, leave the Attribute field blank.

Your sensor will almost certainly have the water level as its state, whereas you’ve asked the trigger to watch the “attribution” attribute, which is text stating where the data is coming from. It’s complaining it can’t convert that text into a number to compare with 3.2.