Playing around with long-presses is on my list of things to do with the Pico remotes, particularly to implement continuous dimming/brightening when those buttons are pressed, similar to the Lutron wall dimmers’ functionality. The triggers you mentioned sound like a similar application.
I think it could be done by having an automation detect a button press, waiting a moment (configurable delay), and then taking other actions if the button release event hasn’t been detected.
Something like:
Trigger on button press or release:
If press:
Call service
Wait 0.5s
Repeat until interrupted
If release:
Do nothing
If the automation is configured to restart when triggered with an instance already running, the above should give the desired effect.
A quick question. Do both the core integration and the custom component require you to use the Lutron app to add devices? I just purchased the Smart Bridge Pro 2 and am looking to start adding switches to the core integration, but I don’t see a way to do this. I’m hoping that I won’t need to download the app, so I have additional assurances that all of my info stays local.
Just wondering if we can pickup button press events from the hardwired dimmers (for dumb lights) yet. I’d like my auxiliary hue light to come on and maybe change scenes depending on how many times I pressed “on”