Add more CPU temp. labels to Glances (#23179)
This commit is contained in:
parent
6e300bd438
commit
b1b269b302
1 changed files with 3 additions and 2 deletions
|
@ -175,8 +175,9 @@ class GlancesSensor(Entity):
|
|||
self._state = value['quicklook']['cpu']
|
||||
elif self.type == 'cpu_temp':
|
||||
for sensor in value['sensors']:
|
||||
if sensor['label'] in ['CPU', "Package id 0",
|
||||
"Physical id 0", "cpu-thermal 1",
|
||||
if sensor['label'] in ['CPU', "CPU Temperature",
|
||||
"Package id 0", "Physical id 0",
|
||||
"cpu_thermal 1", "cpu-thermal 1",
|
||||
"exynos-therm 1", "soc_thermal 1"]:
|
||||
self._state = sensor['value']
|
||||
elif self.type == 'docker_active':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue