Closed dhogborg closed 6 years ago
Hi & thanks for this contribution. I'm terribly sorry about not acknowledging this earlier.
Please have a look at the dev
branch where we add support for multiple installations.
Will keep this here until the new version is ready for release.
Closing this one, see: #27
Support for multiple installations on the same Verisure account. This was instrumental for me since I have my door lock on a separate installation form my alarm system.
No special configuration, plugin will use the same door code for all installations and all doors, same as before.
This PR introduces the usage of promises in some central places to handle async tasks. While that might go against the overall style of the project with heavy usage callbacks, it's much easier to work with when looping though the installations.