Zigbee Window Shade—help needed with DTH

Hi,
I am trying to integrate my ZigBee window covering device with the Smartthings hub and I am having some issues developing the device handler with the window shade capability. I would really appreciate any help if I can get some help as how to program a device handler for this kind of device.

What’s the device that you are using?

I am making my own device which is configured as a window shade.

It connects to Smartthings, but my DTH has issues. And so I wanted to know how to do this correctly. Do you know how to make a correct DTH for the shade?