Wind based thermostat

i many moons ago made a thermostat that can adjust my heat pump based on wind direction… worked fine

now i want to add wind speed to the mix but i get “unknown error” when i try to add another trigger

blueprint:
  name: Smart Thermostat
  description: 'Based on wind direction thermostat is set to max'
  domain: automation
  input:
    weather:
      name: Weather
      description: Specify your weather sensor to get the current outside wind direction from.
      selector:
        entity:
          domain: sensor
    thermostat:
      name: Thermostat
      description: Specify your thermostat.
      selector:
        entity:
          domain: climate
    wind1:
      name: wind1
      description: "The ouside wind direction needs to be between this and the next"
      default: 123.75
      selector:
        number:
          step: 1
          min: 0
          max: 360
          unit_of_measurement: °
    wind2:
      name: wind2
      default: 236.25
      selector:
        number:
          step: 1
          min: 0
          max: 360
          unit_of_measurement: °
    wind3:
      name: wind3
      default: 236.25
      selector:
        number:
          step: 1
          min: 0
          max: 360
          unit_of_measurement: °
    temp_to_set:
      name: Temperature
      default: 23
      selector:
        number:
          min: 5
          max: 30
          unit_of_measurement: °
    notify_device:
      name: Device
      description: The device must run the official Home Assistant app to receive notifications.
      default: false
      selector:
        device:
          integration: mobile_app          
variables:
  temperature: !input temp_to_set 

trigger:
  platform: numeric_state
  entity_id: !input weather
  above: !input wind1
  below: !input wind2
  
action:
  - repeat:
      while:
        - condition: numeric_state
          entity_id: !input weather
          above: !input wind1
          below: !input wind2

      sequence:
        - service: climate.set_temperature
          data_template:
            entity_id: !input thermostat
            temperature: "{{ temperature }}"
        - domain: mobile_app
          type: notify
          device_id: !input notify_device
          message: "Termostat sat til {{ temperature }}"
        - delay:
            hours: 6
            minutes: 0
            seconds: 0
            milliseconds: 0

where do i screw up? i tried to simply add a 3rd trigger after:

above: !input wind1
below: !input wind2