One click on my left Fibaro dimmer executes a "scene 26", I would like to use this "scene 26" to initiate an incremental change to a variable each time the I press the button (scene 26).
More specifically ... one click sets a variable to one. Next click sets it to two. Next click to three. Next click resets the variable to zero again. Like a cycle. I am talking about single-clicks.
A trigger will monitor the variable and execute different ligtning scenes (by each click a bit lighter and with some more lamps added etc). The last part I am sure I can figure out, but the cyclic counting I am not able to figure out. Maybe it requires a small script or plug-in.