Get device type in SmartApp

Hi,

I’m trying to get the type of a device as found on the “Show Device” detail page in my account. One example is type = GE Link Bulb

Is this possible from within a SmartApp? I’m currently getting all my devices in my SmartApp, but would like to gather more info. The Device API doesn’t have the same fields as the “Show Device” detail page and seems like it should.

Thank you,

Thomas

That would be device.typeName

1 Like

Thank you. That field is not listed on this page: http://docs.smartthings.com/en/latest/ref-docs/device-ref.html

1 Like

Wish I’d found this post sooner :wink: I submitted a pull request to add it to the docs: