# \[OBSOLETE\] Four button Tuya Zigbee device DTH (DTH link in post #7) (Same device from multiple brands: Zemismart, Yagusmart, Losonho , DYHF, etc)

**URL:** <https://community.smartthings.com/t/obsolete-four-button-tuya-zigbee-device-dth-dth-link-in-post-7-same-device-from-multiple-brands-zemismart-yagusmart-losonho-dyhf-etc/206149>\
**Category:** Community Created Drivers\
**Tags:** dth\_remotes\
**Created:** [September 24, 2020, 12:03am UTC](https://community.smartthings.com/t/obsolete-four-button-tuya-zigbee-device-dth-dth-link-in-post-7-same-device-from-multiple-brands-zemismart-yagusmart-losonho-dyhf-etc/206149 "2020-09-24T00:03:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![iridris](https://avatars.discourse-cdn.com/v4/letter/i/db5fbb/32.png) [@iridris](https://community.smartthings.com/u/iridris)\
**Post date:** [September 24, 2020, 12:55am UTC](https://community.smartthings.com/t/obsolete-four-button-tuya-zigbee-device-dth-dth-link-in-post-7-same-device-from-multiple-brands-zemismart-yagusmart-losonho-dyhf-etc/206149/4 "2020-09-24T00:55:34Z")

</div>

If you haven’t already looked through this thread, it might be worthwhile if you’re going to be digging in to custom code. It’s pretty buggy right now.

> [@Custom Capability and CLI Developer Preview](https://community.smartthings.com/t/custom-capability-and-cli-developer-preview/197296):
>
> Overview At SmartThings we want to provide tooling to allow developers to get their device integrations working in the SmartThings app. These changes will allow an integrator to move from using custom commands and attributes to custom capabilities. DTH Migration For Custom Capabilities In order to follow along with the example set forth in this guide, you will want to have the CLI set up, so make sure that you take this step first. You can download the CLI here from the [releases tab](https://github.com/SmartThingsCommunity/smartthings-cli/releases) and read more about it in the [README](https://github.com/SmartThingsCommunity/smartthings-cli/blob/master/packages/cli/README.md). It is also recommended that you familiarize yourself with the concepts: [Custom Capabilities](https://developer.smartthings.com/docs/devices/capabilities/custom-capabilities)[Capability Presentations](https://developer.smartthings.com/docs/devices/capabilities/capability-presentations)Walkthrough We are going to walk through a simple example of updating our Device Type Handler (DTH) so that devices installed with the DTH will be …

---

_[View the full topic](https://community.smartthings.com/t/obsolete-four-button-tuya-zigbee-device-dth-dth-link-in-post-7-same-device-from-multiple-brands-zemismart-yagusmart-losonho-dyhf-etc/206149)._
