Existing child devices?

(Linda Thomas-Fowler) #1

Is there a way for a smartapp to get all the child devices that belong to it?

There’s addChildDevice() to add and delteteChildDevice() to remove but is there a function, method or property to get the list of child devices?

(Geko) #2
    def devices = getChildDevices()

(Linda Thomas-Fowler) #3

@geko, thanks again! If you are ever in the DC area I oew you a beer or six!