Add "soc-thermal 1" as CPU Temp label to Glances (#23635)

pull/23651/head
Philippe Delodder 2019-05-03 15:43:51 +02:00 committed by Fabian Affolter
parent 9761c504eb
commit df9a9a1fec
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ class GlancesSensor(Entity):
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"]:
"exynos-therm 1", "soc_thermal 1",
"soc-thermal 1"]:
self._state = sensor['value']
elif self.type == 'docker_active':
count = 0