Hello, I would like to convert my Node Red flows back to Home Assistant now that I understand the automations better in Home Assistant. But I’m stuck on one flow. I have a light switch that, when I turn it on, off, on, and off again within 2 seconds it triggers a Boolean.
I’ve been trying different ways of doing this but can’t seem to find anything that works.
Does anyone have any suggestions on how I may achieve this in Home Assistant, please?
Probably use the wait for trigger.
So use state = on first.
Then in action wait for off, then wait for on, then wait for off and lastly wait for on.
You can probably just set the timeout on each individual step not the whole sequence.
So if you set the timeout at 1 second then you get three seconds in total.
Perhaps you can set it to a fraction, never tried it.