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
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.