mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add "soc-thermal 1" as CPU Temp label to Glances (#23635)
This commit is contained in:
parent
9761c504eb
commit
df9a9a1fec
@ -178,7 +178,8 @@ class GlancesSensor(Entity):
|
|||||||
if sensor['label'] in ['CPU', "CPU Temperature",
|
if sensor['label'] in ['CPU', "CPU Temperature",
|
||||||
"Package id 0", "Physical id 0",
|
"Package id 0", "Physical id 0",
|
||||||
"cpu_thermal 1", "cpu-thermal 1",
|
"cpu_thermal 1", "cpu-thermal 1",
|
||||||
"exynos-therm 1", "soc_thermal 1"]:
|
"exynos-therm 1", "soc_thermal 1",
|
||||||
|
"soc-thermal 1"]:
|
||||||
self._state = sensor['value']
|
self._state = sensor['value']
|
||||||
elif self.type == 'docker_active':
|
elif self.type == 'docker_active':
|
||||||
count = 0
|
count = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user