Fix cpu_temp issue on Odroid (#19620)

pull/19635/head
Andrei 2018-12-28 21:36:00 +01:00 committed by Fabian Affolter
parent dae4543e54
commit 82d6fe5bd5
1 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,8 @@ class GlancesSensor(Entity):
elif self.type == 'cpu_temp':
for sensor in value['sensors']:
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']
elif self.type == 'docker_active':
count = 0