Complex Light Motion Automation (manually & Disable Sensor Disable)

Hello,

I try to realize a complex light automation. This Automation should include a Motion Sensor disable and a manually activation functionality.
I made a flow-chart to describe a bit easier. On the top are the triggers that are fired.
How can I change the design of the automation that the motion detection doesn’t change my input-bool (manually switched) and does not fire the the triggers on the right side.

alias: room Light Extended
description: ""
triggers:
  - trigger: state
    entity_id:
      - binary_sensor.motion_room_motion
    from: "off"
    to: "on"
    id: Motion Detected
    alias: Motion Detected
  - alias: Motion Stopped
    trigger: state
    entity_id:
      - binary_sensor.motion_room_motion
    to: "off"
    for:
      hours: 0
      minutes: 0
      seconds: 10
    id: Motion Stopped
  - alias: Button room "Press"
    device_id: 782afd20da32e65536c7xxx6e9d153df
    domain: bthome
    type: button
    subtype: press
    id: roomButtonPress
    trigger: device
  - trigger: state
    entity_id:
      - light.led_room_cw
    from: "off"
    to: "on"
    id: switch on trigger
    alias: CW on
    enabled: false
  - trigger: state
    entity_id:
      - light.led_room_ww
    from: "off"
    to: "on"
    id: switch on trigger
    alias: WW on
    enabled: false
  - trigger: state
    entity_id:
      - light.led_room_cw
    from: "on"
    to: "off"
    id: switch off trigger
    alias: CW off
    enabled: false
  - trigger: state
    entity_id:
      - light.led_room_ww
    from: "on"
    to: "off"
    id: switch off trigger
    alias: WW off
    enabled: false
conditions: []
actions:
  - choose:
      - conditions:
          - condition: and
            conditions:
              - condition: state
                entity_id: input_boolean.room_motion_sensor_disable
                state: "off"
              - condition: trigger
                id:
                  - Motion Detected
        sequence:
          - action: light.turn_on
            metadata: {}
            data:
              brightness_pct: 80
              kelvin: 6419
            target:
              area_id: room
        alias: Motion Detected
      - conditions:
          - condition: and
            conditions:
              - condition: trigger
                id:
                  - Motion Stopped
              - condition: state
                entity_id: input_boolean.room_motion_sensor_disable
                state: "off"
              - condition: state
                entity_id: input_boolean.room_light_manually
                state: "off"
        sequence:
          - sequence:
              - action: light.turn_on
                metadata: {}
                data:
                  brightness_pct: 10
                  kelvin: 6419
                target:
                  area_id: room
              - delay:
                  hours: 0
                  minutes: 0
                  seconds: 30
                  milliseconds: 0
              - action: light.turn_off
                metadata: {}
                data: {}
                target:
                  area_id: room
        alias: Motion Stopped
      - conditions:
          - condition: trigger
            id:
              - roomButtonPress
        sequence:
          - if:
              - condition: or
                conditions:
                  - condition: device
                    type: is_on
                    device_id: 92a044272ac66ebbb25dde823056b841
                    entity_id: 5b24466d8dc1bdccca55d4c249c3c983
                    domain: light
                  - condition: device
                    type: is_on
                    device_id: 92a044272ddd6e69a25dde823056b841
                    entity_id: bfbadc152672555603abbbf5555fa11c
                    domain: light
                alias: Light on?
            then:
              - alias: Manually on?
                if:
                  - condition: state
                    entity_id: input_boolean.room_light_manually
                    state: "on"
                then:
                  - sequence:
                      - action: light.turn_off
                        metadata: {}
                        data: {}
                        target:
                          area_id: room
                      - action: input_boolean.turn_off
                        metadata: {}
                        data: {}
                        target:
                          entity_id: input_boolean.room_light_manually
                    alias: switch off
                else:
                  - sequence:
                      - action: light.turn_on
                        metadata: {}
                        data:
                          brightness_pct: 80
                          kelvin: 6419
                        target:
                          area_id: room
                      - action: input_boolean.turn_on
                        metadata: {}
                        data: {}
                        target:
                          entity_id: input_boolean.room_light_manually
                    alias: Switch On
            else:
              - sequence:
                  - action: light.turn_on
                    metadata: {}
                    data:
                      brightness_pct: 80
                      kelvin: 6419
                    target:
                      area_id: room
                  - action: input_boolean.turn_on
                    metadata: {}
                    data: {}
                    target:
                      entity_id: input_boolean.room_light_manually
                alias: Switch On
        alias: Button
      - conditions:
          - condition: trigger
            id:
              - switch on trigger
        sequence:
          - sequence:
              - action: light.turn_on
                metadata: {}
                data:
                  brightness_pct: 80
                  kelvin: 6419
                target:
                  area_id: room
              - action: input_boolean.turn_on
                metadata: {}
                data: {}
                target:
                  entity_id: input_boolean.room_light_manually
            alias: Switch On
      - conditions:
          - condition: trigger
            id:
              - switch off trigger
        sequence:
          - sequence:
              - action: light.turn_off
                metadata: {}
                data: {}
                target:
                  area_id: room
              - action: input_boolean.turn_off
                metadata: {}
                data: {}
                target:
                  entity_id: input_boolean.room_light_manually
            alias: switch off
mode: restart

I got a solution for this problem.