How to merge two DTHs with different capabilities?

Hi, All:
I have two DTHs with capabilities as below:


I want to merge the two DTHs, but I do not know how to deal with different capabilities. Can someone tell me how to do ? Thanks!

The Metadata defined for the Device in the DTH cannot be dynamic. This means the capabilities, Device type, and presentation.
A DTH can be shared by different devices only if they have the same metadata.
Or, unless you don’t mind having an empty capability, in this case, Temperature Measurement, you can add it and create a custom presentation to display it at the bottom of the Device UI.

Thanks!I see.