Get device list in app (without input)

Writing my first app.

How can I get a list of devices with asking for a selection through "input" directive?

You cannot; this is part of Hubitat's security model for user apps/custom code (or at least that was the reasoning on a platfom that inspired a similar model on Hubitat; it also serves a pratical purpose in that you get a way to actually refer to such devices with a Groovy object). Your app can only access devices the user has specifically authorized.

3 Likes

Thank you, @bertabcd1234! Much appreciated.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.