The document provided by @Eric_Inovelli goes over this in much more detail but the quick and dirty is to use the Zigbee Binding App and bind Endpoint 2 of the switch to Endpoint 1 of the module and endpoint 3 of the switch to endpoint 2 of the module.
VZM31-SN EP2 → VZM36 EP1
VZM31-SN EP3 → VZM36 EP2
This screenshot shows the light endpoint binding.
You would then create another instance of the app for the fan endpoint binding.
Then, with the latest driver change setting 130 to either Cycle or Multi-Tap:


