# Custom DH not working in New App

**URL:** <https://community.smartthings.com/t/custom-dh-not-working-in-new-app/206177>\
**Category:** Developer Programs\
**Tags:** migration2020\
**Created:** [September 24, 2020, 9:47am UTC](https://community.smartthings.com/t/custom-dh-not-working-in-new-app/206177 "2020-09-24T09:47:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![johnconstantelo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/johnconstantelo/32/111869_2.png) [@johnconstantelo](https://community.smartthings.com/u/johnconstantelo)\
**Post date:** [September 24, 2020, 9:58am UTC](https://community.smartthings.com/t/custom-dh-not-working-in-new-app/206177/2 "2020-09-24T09:58:37Z")

</div>

Yup, you need to update your DTH for the new app to use a custom VID and attributes/capabilities. Here’s some reading material for you:

> [@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 …

> [@Schema Devices and Custom Capabilities](https://community.smartthings.com/t/schema-devices-and-custom-capabilities/199675):
>
> Creating custom capabilties for schema devices Using the SmartThings CLI and Developer Workspace We are going to create a Cloud Connected Device using Schema and webhooks. Our base device will be a basic switch. The first part of this tutorial will cover create the connector, oAuth server, and adding the Switch to SmartThings. The second part of the tutorial will cover adding a custom capability to this new device. Prerequisites: Samsung Account Developer Workspace Access Developer Mode Enabled Glitch Account Text File Step 1: [Remix](https://glitch.com/edit/#!/remix/schematutorial) this Glitch account (connector) Set the values in the .env file using .env-example as a guide. Once the remixed app is up and running copy its URL to your text file. Register the webhook url in SmartThings Developer Workspace and deploy it for t…

---

_[View the full topic](https://community.smartthings.com/t/custom-dh-not-working-in-new-app/206177)._
