Has anyone else using addChildDevice seen issues where a call to that method seems to work, but later calls to getChildDevice() or getChildDevices() report that the SmartApp has 0 children? It doesn’t happen all of the time, only sometimes, but I can’t figure out any pattern in when it works and when this strangeness happens. The device is still created successfully, it just isn’t a child of the SmartApp. Any ideas?
Here is some logging from a case where this happened. You can see a child device being created, then shortly after, I call getChildDevices() and find 0 devices:
8:04:31 PM PDT: debug child devices:  8:04:31 PM PDT: debug getChildDevices(false), children=0 8:04:30 PM PDT: debug creating child device 0A0001DB:D997