From 48ffdea31f7346021d7d88a21a245e08d1ab1603 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira de Mello Date: Thu, 29 Sep 2016 01:07:23 -0400 Subject: [PATCH] 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' --- 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 91e5f5824e9..10abf812116 100644 --- a/homeassistant/components/climate/nest.py +++ b/homeassistant/components/climate/nest.py @@ -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