Skip to content

Commit

Permalink
Fix ShellyEM sensors units
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniu authored Aug 11, 2019
1 parent f19a12c commit 9cb1c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_scripts/shellies_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
- https://raw.githubusercontent.com/bieniu/home-assistant-config/master/python_scripts/python_scripts.json
"""

VERSION = '0.10.2'
VERSION = '0.10.3'

ATTR_DEVELOP = 'develop'

Expand Down Expand Up @@ -385,7 +385,7 @@
model = ATTR_MODEL_SHELLYEM
meters = 2
meters_sensors = [ATTR_POWER, ATTR_REACTIVE_POWER, ATTR_VOLTAGE]
meters_sensors_units = [ATTR_UNIT_W, ATTR_UNIT_W, ATTR_UNIT_VAR]
meters_sensors_units = [ATTR_UNIT_W, ATTR_UNIT_VAR, ATTR_UNIT_V]
meters_sensors_classes = [ATTR_POWER, '', '']
meters_sensors_templates = [
ATTR_TEMPLATE_POWER,
Expand Down

0 comments on commit 9cb1c29

Please sign in to comment.