mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix cpu_temp issue on Raspberry Pi (#19404)
This commit is contained in:
parent
6c8ed86f3e
commit
da10598fa1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user