Delay in choose automation

Hi All,

The script is running perfect only when the LUX level is between 100 and 220 and lights goes on and the LUX leven become above 400 the script runs 2 times. Even when the delay 10min is at the end.

How can I prevent that when first choose is started there will be a delay so it won’t check the second choose also?

#   __    _____ __ __    __    _____ _____ _____ __       __    _____ _____ _____ _____ _____ _____ _____ _____ _____
#  |  |  |  |  |  |  |  |  |  |   __|  |  |   __|  |     |  |  |     |  |  |     |   | |   __| __  |     |     |     |
#  |  |__|  |  |-   -|  |  |__|   __|  |  |   __|  |__   |  |__|-   -|  |  |-   -| | | |  |  |    -|  |  |  |  | | | |
#  |_____|_____|__|__|  |_____|_____|\___/|_____|_____|  |_____|_____|\___/|_____|_|___|_____|__|__|_____|_____|_|_|_|
###########################################################################################
# LIVINGROOM AND DINGROOM CONTROL LIGHTS BASED ON LUX LEVEL ON STATUS
###########################################################################################
- id: low_lux_level_livingroom
  alias: "Control - Light - Lux Control"
  mode: restart
  trigger:
    - platform: state
      entity_id:
        - binary_sensor.pir_motion_sensor_with_temperature_sensor_detection_4 # Motion Livingroom
        - binary_sensor.pir_motion_sensor_with_temperature_sensor_detection_7 # Motion Diningroom
        - sensor.pir_motion_sensor_with_temperature_sensor_illuminance_4 # Lux Livingroom
        - sensor.pir_motion_sensor_with_temperature_sensor_illuminance_7 # Lux Diningroom

  variables:
    door_sensor_diningroom: binary_sensor.door_window_sensor_access_control_window_door_is_open
    adaptive: "{{ states('sensor.adaptive_lighting_color_temperature') }}"

  condition:
    - condition: state
      entity_id: sun.sun
      state: "above_horizon"

    - condition: state
      entity_id: binary_sensor.sensor_manual_family_home
      state: "on"

    - condition: state
      entity_id: switch.full_manual_mode
      state: "off"

    - condition: or
      conditions:
        - condition: state
          entity_id: binary_sensor.pir_motion_sensor_with_temperature_sensor_detection_4
          state: "on"

        - condition: state
          entity_id: binary_sensor.pir_motion_sensor_with_temperature_sensor_detection_7
          state: "on"

  action:
    - choose:
        - conditions:
            - condition: numeric_state
              entity_id: sensor.pir_motion_sensor_with_temperature_sensor_illuminance_4
              above: 100
              below: 220

            - condition: state
              entity_id:
                - switch.scene_guests
                - switch.lux_low
              state: "off"

          sequence:
            - service: switch.turn_on
              entity_id: switch.lux_low

            - wait_template: "{{ is_state('switch.lux_low', 'on') }}"

            - service: light.turn_on
              entity_id: light.livingroom_all
              data:
                brightness_pct: 75
                kelvin: "{{ adaptive }}"

            - service: light.turn_on
              data:
                entity_id: light.dressoir_all
                brightness_pct: "{{ 0 if is_state(door_sensor_diningroom, 'on') else 75 }}"
                kelvin: "{{ adaptive }}"

            - service: "{{ 'script.engine_say' if states.media_player.echo_2.state is defined else 'script.none' }}"
              data:
                media_player: media_player.echo_2
                notify: notify.alexa_media_echo_2
                call_lux_evening_on: 1

        - conditions:
            - condition: numeric_state
              entity_id: sensor.pir_motion_sensor_with_temperature_sensor_illuminance_4
              above: 400

            - condition: state
              entity_id:
                - switch.scene_guests
              state: "off"

            - condition: state
              entity_id: switch.lux_low
              state: "on"

          sequence:
            - service: switch.turn_off
              entity_id: switch.lux_low

            - service: light.turn_off
              entity_id:
                - light.livingroom_all
                - light.dressoir_all

            - service: "{{ 'script.engine_say' if states.media_player.echo_2.state is defined else 'script.none' }}"
              data:
                media_player: media_player.echo_2
                notify: notify.alexa_media_echo_2
                call_lux_evening_off: 1

    - delay:
        minutes: 10