From b66534eed04df160425616efeb367c1a9aaaf20a Mon Sep 17 00:00:00 2001 From: Marius Retegan Date: Sun, 16 Dec 2018 15:57:45 +0100 Subject: [PATCH] Fix cpu_temp issue on Raspberry Pi --- homeassistant/components/sensor/glances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/glances.py b/homeassistant/components/sensor/glances.py index 1dfb7a206c6ee5..d0b1c2de4809c6 100644 --- a/homeassistant/components/sensor/glances.py +++ b/homeassistant/components/sensor/glances.py @@ -180,7 +180,7 @@ async def async_update(self): 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