From 840e27adec06cbab0e079165a1f0540132a92b97 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <paulus@paulusschoutsen.nl> Date: Sun, 4 Dec 2016 13:49:46 -0800 Subject: [PATCH] Fix Nest interpreting Celsius temperature as Fahrenheit (#4729) --- homeassistant/components/climate/nest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/climate/nest.py b/homeassistant/components/climate/nest.py index 01c3b3782b1..06ec500f9e2 100644 --- a/homeassistant/components/climate/nest.py +++ b/homeassistant/components/climate/nest.py @@ -229,7 +229,7 @@ class NestThermostat(ClimateDevice): self._eco_temperature = self.device.eco_temperature self._locked_temperature = self.device.locked_temperature self._is_locked = self.device.is_locked - if self.device.temperature == 'C': + if self.device.temperature_scale == 'C': self._temperature_scale = TEMP_CELSIUS else: self._temperature_scale = TEMP_FAHRENHEIT -- GitLab