Merge pull request #1206 from turbokongen/rfxtrx-newprotocols

Supporting electricity sensors with ELEC2/3 protocol from latest pyRFXtrx (0.4)
pull/1171/merge
Paulus Schoutsen 2016-02-11 23:30:40 -08:00
commit 8857c48c17
1 changed files with 3 additions and 1 deletions

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