Consolidates logic for energy monitoring across smart and iot devices. Deprecates emeter attributes in favour of common names.