Closed Newlance closed 2 years ago
Another possible use case: ceiling fans. tap to toggle lights, long press to toggle fan
I just discovered this kind of - almost - works (???) No long press, but I accidentally set it up so one light is single click (using gestures) and another light is double click (using light action) I didnt realize the double click was already implemented. So far I cant see a way to have both actions on the same light though -- the single click will always trigger before I get a chance to double click.
Closing this and replacing it with a broader yet more specific request
Is your feature request related to a problem? Please describe. I am limited to having to chose between turning on/off a light, or accessing its more-info page to change the color.
Describe the solution you'd like I would love to see the ability to short press or long press to trigger 2 different actions such as a short press toggles the light, and a long press opens the more-info panel.
Describe alternatives you've considered As an alternate solution, if long-press actions are not possible, a single click to trigger one action, and a double click to trigger another. This seems less intuitive though, and potentially harder to implement, as you would need to set a slight delay after the first click to wait for a second click.