Skip to content
Snippets Groups Projects
Commit 840e27ad authored by Paulus Schoutsen's avatar Paulus Schoutsen
Browse files

Fix Nest interpreting Celsius temperature as Fahrenheit (#4729)

parent 31a8537a
No related branches found
No related tags found
No related merge requests found
...@@ -229,7 +229,7 @@ class NestThermostat(ClimateDevice): ...@@ -229,7 +229,7 @@ class NestThermostat(ClimateDevice):
self._eco_temperature = self.device.eco_temperature self._eco_temperature = self.device.eco_temperature
self._locked_temperature = self.device.locked_temperature self._locked_temperature = self.device.locked_temperature
self._is_locked = self.device.is_locked self._is_locked = self.device.is_locked
if self.device.temperature == 'C': if self.device.temperature_scale == 'C':
self._temperature_scale = TEMP_CELSIUS self._temperature_scale = TEMP_CELSIUS
else: else:
self._temperature_scale = TEMP_FAHRENHEIT self._temperature_scale = TEMP_FAHRENHEIT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment