How can I access a devices metadata in a smartapp

More specifically I am trying to access the icon names.

I have a JSON endpoint that I use to power some tablets around the house and currently I have the icons hard coded. I want to expose the icon information from a device so that I can make this a little more dynamic. The easiest method I can think of would be to use the device handler metadata but I cant seem to find any way to access this information directly.

1 Like

It’s not possible.

I wish I were wrong.

Thanks for the quick reply, If anyone would know its you guys.

1 Like