I’m not sure I understand your question, but if you read the community custom code FAQ, it lists the steps you need to go through to use a custom DTH:
[OBSOLETE] FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic, Groovy Code)
I’m not sure I understand your question, but if you read the community custom code FAQ, it lists the steps you need to go through to use a custom DTH:
[OBSOLETE] FAQ: An Overview of Using Custom Code in SmartThings (SmartThings Classic, Groovy Code)