Simplifying code to avoid race conditions
Adding a new element to configure HA
Merge pull request #11 from ehsavoie/naming

Better configuration