Using the same switch button to cycle through actions?

Hi,

I have a number of Hue lights and am looking at adding in-wall switches for them. I don’t want to just use the Philips Hue dimmer remote because I have a number of multi-gang plates where I will need to integrate the switches. I have been having basic success with the Lutron Connected Bulb Remote but it is basic (on/off and dim). I want to be able to do something similar to the Hue remote where you can cycle through scenes with the on button.

My current thinking is to do the following:

  • Get some Caseta Pico switches
  • Get a Caseta Bridge (Pro) unless I don’t need to, but I think I do?
  • Use HASS to get events when the Caseta remote is used (seems like there is support on Git for it)

What I am not sure is whether Hass can associate state with the remote, so that for example if I have a remote with a “favorite” button I can keep hitting that button to cycle through Hue scenes; or have the “on” button be used to turn a light on, but if double tapped also bring it to full intensity.

Is that doable?

Thanks!

I’m not familiar with your hardware but from a HA point It sounds like your best option would be to use input select for the different scenes.

Create an automation that triggers on the button press and just calls input_select.select_next.

Then another automation that triggers when the input select has been changed and sets the relevant scene.