Assigning child devices to a room/group

Is it possible to do this in a SmartApp? Perhaps through the properties map passed to addChildDevice()? My docs searches are coming up empty.

I’d like to be able to create a device and select a room to place it in, similar to how the current new device workflow prompts for it, so I’d also need to be able to gather a list of existing rooms to populate the enum.

1 Like