That is great to hear. Below is an example of how the wizard configures the smart button. It should do exactly what you want it to do.
A simple press on the button will toggle between on/off:
When holding the button it will decrease the brightness:
The actions can be customised further if you want it to do something different.