HA, Tasmota USN Switch, Heat Genius

What I have.
HA on Odroid.
A Similink USB Stick with Tasmota and a USB Powered LED
Heat Genius Integration.

What I am trying to achieve:

  1. When sensor.geniushub_errors shows a value of >0 then switch on switch.heat_genius_battery_warning_tasmota_usb4
  2. When sensor.geniushub_errors shows a value of <1 then switch off switch.heat_genius_battery_warning_tasmota_usb4

I tried an automation - but thats not working because the entity has a non-numeric entity list of a text field, despite displaying as a 1 (or more) or a 0.

I have attached a screenshot that I think indicates the issue. If I leave that blank - it still doesn’t work

How should I be doing this? And do you think I have the reason its not working correct?