The wall switch module does not work directly with dimmer switches, but you can use the dimming function via a push-button.
The module is designed for classic on/off switches or push-buttons. If you connect a push-button, you can dim the light and brighten it again by pressing and holding it. Dimming is not possible with a normal light switch. The dimming function is controlled by the software via the Hue app, not by the physical switch itself.