Any example of DeviceType with "sensor" capability


(Adrian Lopez) #1

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!


#2

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: