Here is a set of blueprints for Lutron Caseta Pico remotes which pulls all button triggers into a single automation.
This is similar to others on this forum, with a few key differences:
Multiple remotes can be specified in a single automation
Short press actions will fire immediately (on press) if no long-press action is defined
If you have multiple remotes which should have identical behaviour, this blueprint helps keep them all in one place. The button presses/releases on the multiple remotes will not clash.
Other automations which have a long-press function always fire the short-press when the button is released. This means you canât trigger press/release automations (e.g. start dimming/stop dimming) in the same automation as you have long-press actions defined. This blueprint is different - if you define long-press then short-press is triggered when you release the button, but if you have no long-press then short-press is triggered when you press the button. Itâs faster this way, and compatible with a wider variety of configurations.
Beware the release trigger will fire every time, even if you donât have a release action defined. If you choose the âsingleâ automation mode your press action will be stopped when you release the button. You probably donât want this, so the default mode in this blueprint is âparallelâ.
I have written a version for the 4 variants I have, but itâs very simple to modify this for other models. I extracted the key codes into a variable so itâs easier to modify.
I love this blueprint for my pico remotes, it works very well.
But the one thing that seems to be missing is the ability to set the color of bulbs that support it. I currently have it set to turn on my range hood for one of the buttons but I cannot specify the color just the brightness.
Thanks for sharing your Blueprint. I have several PJ2-3BRL-GXX-X01 (Pico3ButtonRaiseLower) remotes and programmed all of them with your code.
Much appreciated!
The blueprint lets you assign any set of actions (not just lights, really anything). So you just need to find the service that corresponds to turning your lights on (usually light.turn_on) and you should be able to specify the colour in there.
i am using multiple PJ2-3BRL-GXX-X01 to control various media devices, and itâs nice to have hold repeat for things like increasing volume or scrolling menus. itâs easy enough to implement using a script that you turn on/off for the hold/release actions, but how could i do this using the lutron state directly?
i tried creating a condition based on the lutron button state, but the yaml gives an error about not being able to use a condition with the lutron_caseta domain. seems like since these devices are managed by my lutron hub itâs a bit harder?
it works well enough now, but does anyone know how i could do this using the actual button state?
The buttons donât have a state. They just fire pressed and released events which we use to trigger the automations. This blueprint creates the âheldâ triggers by looking at the timing between pressed and released events.
Iâm sorry if this is a dumb question or Iâm missing something obvious, but how do I go about setting the up and down buttons (when held down) to brighten or dim until released? I can only seem to get it to work with incremental short presses.
This blueprint works perfect, took me less than a minute to install and test. Perfect, thanks. Any though to incorporating a double-press? That would give three functions per button, which is powerful and useful. Many off-the-shelf switches, including Lutron, use double-press to go full bright. It would be great to trigger an automation with that too.
i havenât tried this yet, but look forward to using them. thanks for your work and dedication, still followinâ through after all these years. lutron is a good company, reliable, itâs a shame their engineers wonât work more closely with HA. they donât know what their missing