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