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:
1 parent
ce4f5ff29c
commit
02609d0ab5
1 file changed
+1
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user