Automation not triggering, what could be wrong?

The following automation is not triggering correctly.

sensor.xi_temperature_humidity is above 70
input_number.airco_slaapkamer_humidity_high_threshold is set to 70
input_number.airco_slaapkamer_humidity_low_threshold is set to 61

Am I missing something here? Cheers

alias: 'Airco Slaapkamer Dry Auto '
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.xi_temperature_humidity
    above: input_number.airco_slaapkamer_humidity_high_threshold
  - platform: numeric_state
    entity_id: sensor.xi_temperature_humidity
    below: input_number.airco_slaapkamer_humidity_low_threshold
condition: []
action:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.xi_temperature_humidity
            above: input_number.airco_slaapkamer_humidity_high_threshold
          - condition: state
            entity_id: climate.airco_slaapkamer
            state: 'off'
          - condition: or
            conditions:
              - condition: time
                after: '06:30'
                before: '22:00'
              - condition: numeric_state
                entity_id: sensor.xi_temperature_humidity
                above: '79'
        sequence:
          - service: climate.set_hvac_mode
            target:
              entity_id: climate.airco_slaapkamer
            data:
              hvac_mode: dry
      - conditions:
          - condition: numeric_state
            entity_id: sensor.xi_temperature_humidity
            below: input_number.airco_slaapkamer_humidity_low_threshold
          - condition: state
            entity_id: climate.airco_slaapkamer
            state: dry
        sequence:
          - service: climate.set_hvac_mode
            data:
              hvac_mode: 'off'
            target:
              entity_id: climate.airco_slaapkamer
    default: []
mode: single

If the current humidity is 68 and it increases above the high_threshold of 70, it will trigger the first trigger.

It won’t trigger if the current humidity is already above 70. It’s the crossing of the threshold that causes it to trigger the Numeric State Trigger.

This

will trigger when sensor.xi_temperature_humidity was lower then input_number.airco_slaapkamer_humidity_high_threshold and now gets higher

This

will trigger if sensor.xi_temperature_humidity was higher then input_number.airco_slaapkamer_humidity_low_threshold and now gets lower

You only provided

but did not say where it was coming from.