mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix Nest interpreting Celsius temperature as Fahrenheit (#4729)
This commit is contained in:
parent
31a8537ab5
commit
840e27adec
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user