This is my goal. I want to run an automation each time the up button is pressed on an Inovelli blue dimmer switch.
The problem is if I press the button in quick succession, only the first event is sent to Home Assistant. If I press it slowly, all events are sent.
Parameters set:
Switch delay - 0ms
Local protection - enabled
Switch mode - on/off
I thought it might be the execution time of the automation so I changed the mode to queued
but that didn’t fix it. I also did a simple test to increment a counter and only the first press of the series triggered.
I noticed that the actions for this switch are up_single
, up_double
, up_triple
, etc… and up_held
, and up_release
. There is no up_press
to my knowledge. up_release
is only triggered after the button has been held. So my theory is that after the button has been pressed once, it still waits for another button press to trigger up_double
but since the switch delay
parameter is set to 0ms there will never be an up_double
action so it times out.
I hope my explanation is clear.