Changing battery level unit to "V" instead of "%" as the API reports output voltage, not percentage.

This value matches with Settings > Technical Information's Battery information.
This commit is contained in:
Andy Huang 2016-02-10 21:12:43 -08:00
parent ce4f5ff29c
commit 02609d0ab5

View file

@ -21,7 +21,7 @@ SENSOR_TYPES = ['humidity',
'last_connection',
'battery_level']
SENSOR_UNITS = {'humidity': '%', 'battery_level': '%'}
SENSOR_UNITS = {'humidity': '%', 'battery_level': 'V'}
SENSOR_TEMP_TYPES = ['temperature',
'target',