Fix cpu_temp issue on Odroid (#19620)
parent
dae4543e54
commit
82d6fe5bd5
|
@ -180,7 +180,8 @@ class GlancesSensor(Entity):
|
||||||
elif self.type == 'cpu_temp':
|
elif self.type == 'cpu_temp':
|
||||||
for sensor in value['sensors']:
|
for sensor in value['sensors']:
|
||||||
if sensor['label'] in ['CPU', "Package id 0",
|
if sensor['label'] in ['CPU', "Package id 0",
|
||||||
"Physical id 0", "cpu-thermal 1"]:
|
"Physical id 0", "cpu-thermal 1",
|
||||||
|
"exynos-therm 1"]:
|
||||||
self._state = sensor['value']
|
self._state = sensor['value']
|
||||||
elif self.type == 'docker_active':
|
elif self.type == 'docker_active':
|
||||||
count = 0
|
count = 0
|
||||||
|
|
Loading…
Reference in New Issue