When i go through my child devices in the smartapp, i need to know the devicetype of the device (the app controls multiple). What is the name of the field where the devicetype is stored…
Here’s the “RTFM” link, which I recommend even though Device Type is not an explicit Property.
You can check the supported “Capability(s)”, Commands, etc. of the Device Object…
http://docs.smartthings.com/en/latest/ref-docs/device-ref.html
Lol…
Did rtfm and google before posting . I thought there must be a property as it is listed in my devices. Will solve it differently.
found it…the answer is typeName. A it.getProperties().toString() did the trick.
1 Like
Perfect!
We can actually do an edit & pull request on the Documentation (it’s a public GitHub), but just tagging @jim instead.