Sync KNX Dummy Buttons on Startup

I’m afraid somehow that doesn’t want to actually work.
Do you have any idea why this code doesn’t work?
Then I would use it until I found a better solution.

- alias: Mirror Dummy Switches at Startup
    trigger:
    - platform: homeassistant
      event: start
    action:
      - service_template: "switch.turn_{{ light.nachttischlampe.state }}"
        entity_id:
          - switch.knx_dummy_nachttischlampe
      - service_template: "switch.turn_{{ light.ballonlicht.state }}"
        entity_id:
          - switch.knx_dummy_ballonlicht
      - service_template: "switch.turn_{{ light.esszimmer.state }}"
        entity_id:
          - switch.knx_dummy_esstisch
      - service_template: "switch.turn_{{ light.gaestezimmer.state }}"
        entity_id:
          - switch.knx_dummy_gaestezimmer
      - service_template: "switch.turn_{{ light.stehlampe.state }}"
        entity_id:
          - switch.knx_dummy_stehlampe

I have tried
- service_template: "switch.turn_{{ light.stehlampe.to_state.state }}"
but even without success.

Is there anything wrong with the template?