Creating a GenericDevice Template for Moes House 2 Channel Dimmer Module

Hi

I have a working solution with a number of TUYA smart lamps running through tuya-mqtt.

Now I want to add a Moes House 2 Channel Mains Dimmer which also has 2 input pins to my setup.

Does anybody know what I need to put in the GenericDevice Template so that the 2 dimmer channels AND the 2 input pins will be recognised and reported by TUYA-MQTT, please?