Fixed typo (#3569)
Sep 29 00:59:22 pi hass[21333]: if self.device.measurment_scale == 'F': Sep 29 00:59:22 pi hass[21333]: AttributeError: 'Device' object has no attribute 'measurment_scale'
This commit is contained in:
1 parent
8e14da7454
commit
574e3231d0
1 file changed
+1
-1
@@ -57,7 +57,7 @@ class NestThermostat(ClimateDevice):
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
"""Return the unit of measurement."""
|
||||
if self.device.measurment_scale == 'F':
|
||||
if self.device.measurement_scale == 'F':
|
||||
return TEMP_FAHRENHEIT
|
||||
elif self.device.measurement_scale == 'C':
|
||||
return TEMP_CELSIUS
|
||||
|
||||
Reference in new issue
Block a user