thomasdelaet / python-velbus

A python library to control the Velbus home automation system
MIT License
17 stars 8 forks source link

Add 60sec time out to scan for modules #45

Closed brefra closed 4 years ago

brefra commented 4 years ago

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.

Cereal2nd commented 4 years ago

Looks good