How to add a converter for homemade zigbee devices

How do I add a converter for homemade zigbee devices in the latest version of HA? Please tell me how to do this? a device with a configurable PTVO firmware.