Control Zigbee Lights with KNX switch

Hi, I am trying to switch Zigbee Lights from my KNX switches. But when I press a button, nothing happens. This is the first time I am trying to create an automation with a self-created blueprint.
I believe I am missing something, what could it be?

Automation Blueprint:

blueprint:
  name: KNX2Zigbee Automation
  description: "KNX Befehle auf Zigbee übertragen (Licht)"
  domain: automation
  input:
    switch:
      name: KNX Objekt
      description: Kommunikationsobjekt (5/1/...)
      selector:
        entity:
          domain: switch
    light_1:
      name: Tastendruck
      description: Welche Zigbee Leuchte soll kontrolliert werden?
      selector:
        target:
          entity:
            domain: light
#            mode: restart
max_exceeded: silent
trigger:
  - platform: state
    entity_id: !input "switch"
    attribute: action
action:
  - variables:
      command: "{{ trigger.to_state.state }}"
  - choose:
      - conditions:
          - "{{ command == 'off' }}"
        sequence:
          - service: light.turn_off
            target: !input "light_1"
            data: {}
      - conditions:
          - "{{ command == 'on' }}"
        sequence:
          - service: light.turn_on
            data: {}
            target: !input "light_1"

KNX Device:

knx:
  switch:
      - name: "Flur EG Licht Garderobe ZB"
      address: "5/1/0"
      state_address: "5/1/0"

Hi :wave:!

I think there is no attribute: action for a switch.

Other than that, I’d use events instead of KNX switch entities for that. For an example see this blueprint: KNX - relative dimming for lights blueprint · GitHub

Its always a good idea to test such things in an automation before turning them into blueprints.