mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
This commit is contained in:
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…
x
Reference in New Issue
Block a user