Allows multi-click actions to take place on a button.
Upon reaching the number of required clicks, it executes user defined actions.
Double click a button to turn on a light?
Quintuple click a button to turn off the alarm?
Centuple (Yes, 100 times!) flick a switch to reveal a hidden closet?
…
This and much more is possible with this Blueprint.
How it works:
Select your button. (There are 3 entity types supported: button, input_button and switch)
Set home many ‘clicks’ your button needs to make before the actions are executed. (Every state change is counted as a click. Therefore, in switch entity types, both turning it on or off is counted as a ‘click’.)
Set how much time there can be between clicks.
Set actions to execute
(OPTIONAL) Add conditions that need to be met before executing the actions.
Hi, I’m new to this forum and also to using blueprints. I really like the idea of running multiple actions with just one button, thanks for the work you are sharing here!
The problem I have is that if I have, for example, one automation for 2 clicks and another for 3 clicks, if I want the one for 3 clicks to run, it always runs the first automation with 2 clicks first. Is that correct? And is there a way to ensure that only the correct automation is executed?
Thanks! Mario
That’s correct. The blueprint doesn’t know how many automations it’s used in.
This means that if you use the same button for a double click and a triple click and you click the button 3 times, then both triggers will be fulfilled and both automations will run.
Ok, I got it. Maybe I would have to select the 3x automatic with a larger timeout so that the 2x expires. If I want the 3x action, I would have to press slowly.
The 2 click automation (2CA) would need to expire twice actually.
Let’s say you set the double click timer to 1 second between clicks and the triple click to 2 seconds between clicks:
You click once and wait for more than 1 second to let 2CA expire, then you click a second time, after which you will need to let the 2CA expire again before clicking the 3rd time.