Difficulty getting a published DH working

Once you have the DTH correctly installed for your device, then the system will use it automatically. At that point you can use the official features like routines or scenes or the smart lighting feature to manage the device. :sunglasses:

See the custom code FAQ for the DTH instructions. (The topic title is a clickable link). Make sure you follow the instructions for a device type handler, not a smartapp.