Hi All,
I’m trying to make a switch toggle, then pause for a second, then toglgle again. I am not an expert in YAML, so I hope this can be fixed by simply correcting my (newby/nooby ) code below.
This is what I tried in several combinations, but so far, no luck.
show_name: true
show_icon: false
type: button
tap_action:
action: toggle
delay: '00:00:02'
action: toggle
entity: switch.keuken_plafondlamp
name: TEST
hold_action:
action: none
I added the
delay: ‘00:00:02’
action: toggle
part to the standard YAML code after creating the button.
Thanks in advance!!
3 posts - 2 participants