I’d like to share with you a checklist for you to guide when having issues with the device presentation
- To use the “unit” property in the presentation, it must be included in the capability definition. (This can cause the “checking status” error)
- The capability presentation must not include attributes that belong to a different capability or don’t exist
- Verify that your presentation was created and has your configuration (After every change in the capability presentation, you need to regenerate the device presentation)
Use the commandsmartthings presentation vid -j
- Include the correct presentation properties in your DTH (vid:”xxxx-xxxx-xxxx” and mnmn:”SmartThingsCommunity”)
- Make sure that you saved and published the changes you made in the DTH.
- Check if the device is not using the draft version of the DTH (edit the device in the IDE and see this field value)
- Look for the device in the list and verify if the presentation and capabilities match with your configuration
- Query the device status to check the capabilities’ value (the view is affected by this)
- Try the suggestions to force the metadata refresh (Remember that the automatic refresh is done twice a day):
- Clear the app cache (android devices)
- Reopen de app
- Update the device or handler name
- Create a new device handler with the same configuration except for the name
- Add a new capability to the device and create a new presentation