mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
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
@ -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…
x
Reference in New Issue
Block a user