Adding an Additional Temperature for Device Handler?

I’m trying to create a device handler for a device.
The device measures two temperatures (Room Temperature and Floor Temperature) I can’t find a way to show both temperatures in the app.
Can anyone suggest how to do this?

I use Temperature Capability to show one of the temperatures.

Thanks

One way you can do it is to add additional ‘components’ to the device. In a Groovy DTH that is done by adding child devices that each have the Temperature capability.

An alternative way is to simply add a custom capability to handle one of the temperatures.

2 Likes