Dim /increase light brightness with swich


How can I dim or increase light brightness while holding one button.
Something like this: 1 press, light on; 1 held, increase brightness like 10%. The reverse for the other button.

Thank you all

You need the ABC Advanced Button Controller SmartApp.

Look for the latest code at the end of the topic from @Paul_Sheldon. It has dim and brightening features, exactly what you need.