I have emulated my Harmony Hub Remote into a Lovelace page, and when I am trying to navigate through my TV Guide using my arrow keys, I have to wait approx. 1 second between taps so the underlying script will trigger again. If i press too quickly, it appears as though 1 or 2 of those extra taps do not register as it seems to wait for the script to complete before the button becomes active again to press.
Is there any way i can get this to work so quick taps activate the script everytime. Below is the code for the button.
I tried that as well as adding a double_tap_action but with no better results.
when I press the button for the first time, the button turns yellow (indicating it has been pressed), but seems to take a while (~1 second) before it changes back to its normal state. It is during this 1 second transition time the extra presses on the button do not seem to register.
Thanks for pointing me in the right direction here. From the scripts page I could execute the script multiple times and it worked everytime I pressed it. so looking at my custom button config, I change the tap_action to call-service and the service paramter was the script ID. Now when I double or tripple press the button, it moves acordingly with no delays or perceived slowness. Revised code for custom button is as follows