Fix unit of measurement

* Add version check in unit_of_measurement, to avoid error.
* Remove not needed metric check in unit_of_measurement.
* Add more value types to unit_of_measurement.
* Fix unit prefix
* Remove unused SCAN_INTERVAL variable.
This commit is contained in:
MartinHjelmare
2016-01-25 22:48:18 +01:00
parent 6796219f37
commit 2e175b88bc
2 changed files with 25 additions and 14 deletions

View File

@@ -58,7 +58,6 @@ ATTR_CHILD_ID = 'child_id'
ATTR_PORT = 'port'
GATEWAYS = None
SCAN_INTERVAL = 30
DISCOVER_SENSORS = "mysensors.sensors"
DISCOVER_SWITCHES = "mysensors.switches"