Merge pull request #1206 from turbokongen/rfxtrx-newprotocols

Supporting electricity sensors with ELEC2/3 protocol from latest pyRFXtrx (0.4)
This commit is contained in:
Paulus Schoutsen
2016-02-11 23:30:40 -08:00

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__)