This PR adds a 60 second time out to the module discovery/loading and exposes the succesful loaded modules.
Without this PR if one (or more) module failed to finish the loading due any kind of error, the initial requested callback was never called to notify the scan is finished. For Home Assistant this results into not having any module discovered.
This PR adds a 60 second time out to the module discovery/loading and exposes the succesful loaded modules. Without this PR if one (or more) module failed to finish the loading due any kind of error, the initial requested callback was never called to notify the scan is finished. For Home Assistant this results into not having any module discovered.