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:
Norbert Rittel 2025-03-23 20:08:25 +01:00 committed by GitHub
parent c2057d19c0
commit 1d36279e79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View File

@ -48,13 +48,13 @@
"name": "Last boot"
},
"load_15m": {
"name": "Load (15m)"
"name": "Load (15 min)"
},
"load_1m": {
"name": "Load (1m)"
"name": "Load (1 min)"
},
"load_5m": {
"name": "Load (5m)"
"name": "Load (5 min)"
},
"memory_free": {
"name": "Memory free"

View File

@ -114,34 +114,34 @@
# name: test_sensor[System Monitor Last boot - state]
'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({
'friendly_name': 'System Monitor Load (15m)',
'friendly_name': 'System Monitor Load (15 min)',
'icon': 'mdi:cpu-64-bit',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
})
# ---
# name: test_sensor[System Monitor Load (15m) - state]
# name: test_sensor[System Monitor Load (15 min) - state]
'3'
# ---
# name: test_sensor[System Monitor Load (1m) - attributes]
# name: test_sensor[System Monitor Load (1 min) - attributes]
ReadOnlyDict({
'friendly_name': 'System Monitor Load (1m)',
'friendly_name': 'System Monitor Load (1 min)',
'icon': 'mdi:cpu-64-bit',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
})
# ---
# name: test_sensor[System Monitor Load (1m) - state]
# name: test_sensor[System Monitor Load (1 min) - state]
'1'
# ---
# name: test_sensor[System Monitor Load (5m) - attributes]
# name: test_sensor[System Monitor Load (5 min) - attributes]
ReadOnlyDict({
'friendly_name': 'System Monitor Load (5m)',
'friendly_name': 'System Monitor Load (5 min)',
'icon': 'mdi:cpu-64-bit',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
})
# ---
# name: test_sensor[System Monitor Load (5m) - state]
# name: test_sensor[System Monitor Load (5 min) - state]
'2'
# ---
# name: test_sensor[System Monitor Memory free - attributes]