Fix cpu_temp issue on Raspberry Pi (#19404)

This commit is contained in:
Marius Retegan authored and Charles Garwood committed 2018-12-17 18:30:17 -05:00
1 parent 6c8ed86f3e
commit da10598fa1
1 file changed
+1 -1
+1 -1
View File
@@ -180,7 +180,7 @@ class GlancesSensor(Entity):
elif self.type == 'cpu_temp':
for sensor in value['sensors']:
if sensor['label'] in ['CPU', "Package id 0",
"Physical id 0"]:
"Physical id 0", "cpu-thermal 1"]:
self._state = sensor['value']
elif self.type == 'docker_active':
count = 0