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.


Thank you, @bertabcd1234! Much appreciated.

Download the Hubitat app