mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Use correct unit symbol "min" for minutes in systemmonitor
integration (#141236)
* Use correct unit symbol "min" for minutes in `systemmonitor` integration * Update test_sensor.ambr * Remove accidentially added, excessive space character
This commit is contained in:
parent
c2057d19c0
commit
1d36279e79
@ -48,13 +48,13 @@
|
|||||||
"name": "Last boot"
|
"name": "Last boot"
|
||||||
},
|
},
|
||||||
"load_15m": {
|
"load_15m": {
|
||||||
"name": "Load (15m)"
|
"name": "Load (15 min)"
|
||||||
},
|
},
|
||||||
"load_1m": {
|
"load_1m": {
|
||||||
"name": "Load (1m)"
|
"name": "Load (1 min)"
|
||||||
},
|
},
|
||||||
"load_5m": {
|
"load_5m": {
|
||||||
"name": "Load (5m)"
|
"name": "Load (5 min)"
|
||||||
},
|
},
|
||||||
"memory_free": {
|
"memory_free": {
|
||||||
"name": "Memory free"
|
"name": "Memory free"
|
||||||
|
@ -114,34 +114,34 @@
|
|||||||
# name: test_sensor[System Monitor Last boot - state]
|
# name: test_sensor[System Monitor Last boot - state]
|
||||||
'2024-02-24T15:00:00+00:00'
|
'2024-02-24T15:00:00+00:00'
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (15m) - attributes]
|
# name: test_sensor[System Monitor Load (15 min) - attributes]
|
||||||
ReadOnlyDict({
|
ReadOnlyDict({
|
||||||
'friendly_name': 'System Monitor Load (15m)',
|
'friendly_name': 'System Monitor Load (15 min)',
|
||||||
'icon': 'mdi:cpu-64-bit',
|
'icon': 'mdi:cpu-64-bit',
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (15m) - state]
|
# name: test_sensor[System Monitor Load (15 min) - state]
|
||||||
'3'
|
'3'
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (1m) - attributes]
|
# name: test_sensor[System Monitor Load (1 min) - attributes]
|
||||||
ReadOnlyDict({
|
ReadOnlyDict({
|
||||||
'friendly_name': 'System Monitor Load (1m)',
|
'friendly_name': 'System Monitor Load (1 min)',
|
||||||
'icon': 'mdi:cpu-64-bit',
|
'icon': 'mdi:cpu-64-bit',
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (1m) - state]
|
# name: test_sensor[System Monitor Load (1 min) - state]
|
||||||
'1'
|
'1'
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (5m) - attributes]
|
# name: test_sensor[System Monitor Load (5 min) - attributes]
|
||||||
ReadOnlyDict({
|
ReadOnlyDict({
|
||||||
'friendly_name': 'System Monitor Load (5m)',
|
'friendly_name': 'System Monitor Load (5 min)',
|
||||||
'icon': 'mdi:cpu-64-bit',
|
'icon': 'mdi:cpu-64-bit',
|
||||||
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Load (5m) - state]
|
# name: test_sensor[System Monitor Load (5 min) - state]
|
||||||
'2'
|
'2'
|
||||||
# ---
|
# ---
|
||||||
# name: test_sensor[System Monitor Memory free - attributes]
|
# name: test_sensor[System Monitor Memory free - attributes]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user