[ST Edge] How to create child devices with edge?

There has been a bit of discussion on it, in the edge threads.