Make it possible to create double click action on trigger

Hi I have a KaKu switch and switch buttons in use.
I use that button to swict on my bedroomligts in friendly light mode.
now I try to create an automation where I can push that buton twice within some timeout to set the light bright.
So I created a trigger on the button for on.
Then 100ms delay
and then I wait for on again from unknown switchstate for 10 seconds

then in the trace I get:
Automation "stopped because only a single execution

alias: Slaapkamer dubbelklik is wit
description: ""
trigger:
  - platform: device
    device_id: 5ab7588692eda8af22cdba3ed5ace7f9
    domain: rfxtrx
    type: command
    subtype: "On"
condition: []
action:
  - wait_for_trigger:
      - platform: device
        device_id: 5ab7588692eda8af22cdba3ed5ace7f9
        domain: rfxtrx
        type: command
        subtype: "On"
    timeout:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
    enabled: true
  - service: light.turn_on
    data:
      brightness: 255
    target:
      entity_id:
        - light.milight_slaap_bovenspiegel
        - light.milight_slaap_onderspiegel
  - stop: ""
mode: single

That’s because you have set mode: single

Pick your actual mode from here : https://www.home-assistant.io/docs/automation/modes/

It has to be single.
He’s trying to do a double click, and that is correctly set up with single.

Closing this. Please see this topic for debugging: