Refactored the analytics component. Made it uses the common classes in utility. Did further testing. Using the new deferrable column in the database to distinguish between deferrable and non-deferrable devices. Other then tests, this component is done.
Merge branch 'master' of https://github.com/NomeAutomation/NomeAutomation