Supporting electricity sensors with ELEC2/3 protocol from latest pyRFXtrx (0.4)

This commit is contained in:
John Arild Berentsen 2016-02-11 15:35:05 +01:00
parent 82c5e2cf3c
commit 4d15367956

View File

@ -21,7 +21,9 @@ DATA_TYPES = OrderedDict([
('Humidity', '%'),
('Barometer', ''),
('Wind direction', ''),
('Rain rate', '')])
('Rain rate', ''),
('Energy usage', 'W'),
('Total usage', 'W')])
_LOGGER = logging.getLogger(__name__)