Automation not always working

I’ve set up 2 esp32 relay boards which work fine through the dashboard, I’ve set up 8 number helpers to set the upper and lower humidity levels and I’ve created an automation for each valve.
On one of the boards the relays turn on when the humidity level drops below the set point but on the other board, nothing happens, HA says the automation was triggered but the relays are not turning on.
Am I missing something?
Thanks

alias: Valve 1 Humidity Control
description: ""
triggers:
  - entity_id: sensor.third_reality_inc_3rsm0147z_humidity
    trigger: state
conditions: []
actions:
  - choose:
      - conditions:
          - condition: template
            value_template: |
              {{ states('sensor.third_reality_inc_3rsm0147z_humidity')|float 
                 >= states('input_number.valve_1_upper_humidity')|float }}
        sequence:
          - target:
              entity_id: switch.valve_1_2_relay
            action: switch.turn_off
      - conditions:
          - condition: template
            value_template: |
              {{ states('sensor.third_reality_inc_3rsm0147z_humidity')|float 
                 <= states('input_number.valve_1_lower_humidity')|float }}
        sequence:
          - target:
              entity_id: switch.valve_1_2_relay
            action: switch.turn_on
  - action: notify.mobile_app_blobfishs_iphone_12
    metadata: {}
    data:
      message: valve 1 is on 2 relay
mode: single

Check the automation trace. Troubleshooting Automations

ChatGPT had messed it up, I had been looking at it for that long, I didn’t notice the problem, a fresh pair of eyes and some nice chap looked into it and spotted the problem.

No surprises there.

Stop using and learn what you are doing.