Hello,
I would like to use one button on my Hue dimmer switch to cycle the following states
Turn a light on / change brightness to max / change brightness to a lower value / turn off.
So I can press the button several times to cycle through. Is this possible to accomplish directly within an automation? It should be as easy and with as little code as possible (just for easyness), if possible.
Make a number helper, then have the dimmer increment the number in each button press and if it is the highest number and there is a button press then set it to zero again.
Next make automations that react to the state of the number helper with the actions you want.
1 Like
Thank you so much!