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:
parent
ce4f5ff29c
commit
02609d0ab5
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue