From b1b269b302efff3565719e3ce1666438ad8b65a8 Mon Sep 17 00:00:00 2001 From: Christopher Viel Date: Fri, 19 Apr 2019 09:21:16 -0400 Subject: [PATCH] Add more CPU temp. labels to Glances (#23179) --- homeassistant/components/glances/sensor.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index 2a883e33da6..9e31887cebb 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -175,8 +175,9 @@ class GlancesSensor(Entity): self._state = value['quicklook']['cpu'] elif self.type == 'cpu_temp': for sensor in value['sensors']: - if sensor['label'] in ['CPU', "Package id 0", - "Physical id 0", "cpu-thermal 1", + if sensor['label'] in ['CPU', "CPU Temperature", + "Package id 0", "Physical id 0", + "cpu_thermal 1", "cpu-thermal 1", "exynos-therm 1", "soc_thermal 1"]: self._state = sensor['value'] elif self.type == 'docker_active':