I noticed that with Z-Wave Devices they do not register a real button press, so i can not use it as a trigger.
Now i was thinking, when i press the device button, it puts the node from “asleep” to “awake”.
So i could use the status change as a trigger, but the problem is that the devices wakes itself every xx hours and triggers itself.
I think the only option is to make an automation that triggers when i press the button 2 times within 10 seconds, so the status changes from asleep to wake 2 times in 10 seconds.
But i have no idea how to make this in an automation…
I was thinking about making an counter that when the node changes from asleep to awake it counts +1 and than an automation that resets the counter after 10 seconds. so you have to press 2 times in 10 seconds to get to “2” and of it reaches “2” than it make an other automation that triggers the device i want to controll.