Fibaro Button -> how to program a Dim-Functionality?

Did you have seen this tutorial already? Maybe it works for you.