parent
20caeb5383
commit
f3e55ce330
|
@ -155,9 +155,9 @@ class GlancesSensor(Entity):
|
|||
self._state = value['processcount']['sleeping']
|
||||
elif self.type == 'cpu_temp':
|
||||
for sensor in value['sensors']:
|
||||
if sensor['label'] == 'CPU':
|
||||
if sensor['label'] in ['CPU', "Package id 0",
|
||||
"Physical id 0"]:
|
||||
self._state = sensor['value']
|
||||
self._state = None
|
||||
elif self.type == 'docker_active':
|
||||
count = 0
|
||||
for container in value['docker']['containers']:
|
||||
|
|
Loading…
Reference in New Issue