Any example of DeviceType with "sensor" capability

Where I can find an example of DeviceType in which it is used the sensor capability? This capability don´t have attributes and commands and I don´t know to use it. Sorry, I’m a beginner developer. :smile:

Thanks!

You only use it if you are trying to discover devices of that device class. Basically sensors in SmartThings are supposed to identify themselves as sensors. See the following discussion:

1 Like