mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add empty unit to systemmonitor load averages (#12900)
Adds an empty unit to load averages reported by the systemmonitor component in order to correctly identify the state as numeric. A similar workaroud to this is already used for packet counts in the same component. Re #11022
This commit is contained in:
parent
7c7da9df05
commit
326241d9d8
@ -29,9 +29,9 @@ SENSOR_TYPES = {
|
||||
'ipv4_address': ['IPv4 address', '', 'mdi:server-network'],
|
||||
'ipv6_address': ['IPv6 address', '', 'mdi:server-network'],
|
||||
'last_boot': ['Last boot', '', 'mdi:clock'],
|
||||
'load_15m': ['Load (15m)', '', 'mdi:memory'],
|
||||
'load_1m': ['Load (1m)', '', 'mdi:memory'],
|
||||
'load_5m': ['Load (5m)', '', 'mdi:memory'],
|
||||
'load_15m': ['Load (15m)', ' ', 'mdi:memory'],
|
||||
'load_1m': ['Load (1m)', ' ', 'mdi:memory'],
|
||||
'load_5m': ['Load (5m)', ' ', 'mdi:memory'],
|
||||
'memory_free': ['Memory free', 'MiB', 'mdi:memory'],
|
||||
'memory_use': ['Memory use', 'MiB', 'mdi:memory'],
|
||||
'memory_use_percent': ['Memory use (percent)', '%', 'mdi:memory'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user