I am using these DTHs below, but mine doesn’t have dimmer:
Main : https://github.com/w35l3y/SmartThingsPublic/blob/master/devicetypes/br-com-wesley/zemismart-zigbee-smart-switch.src/zemismart-zigbee-smart-switch.groovy
Child : https://github.com/w35l3y/SmartThingsPublic/blob/master/devicetypes/br-com-wesley/zemismart-zigbee-smart-switch-child.src/zemismart-zigbee-smart-switch-child.groovy
You probably will need to add fingerprints of your device to make it work.
This version doesn’t need smartapp.
In my case the problem was the endpoints.
The original script was designed to work with endpoints 0x10 and 0x11 while this new version identifies the first endpoint and increment 1 to it.
Once you have added the DTHs and fingerprints, pair your device again and it will be automatically identified as “ZigBee Smart Switch” (one device for each gang)