diff --git a/nest/nest.py b/nest/nest.py index aa515d8..248e3c1 100644 --- a/nest/nest.py +++ b/nest/nest.py @@ -514,6 +514,10 @@ def _round_temp(self, temp): def temperature_scale(self): return self._device.get('temperature_scale') + @temperature_scale.setter + def temperature_scale(self, value): + self._set('devices/thermostats', {'temperature_scale': value.upper()}) + @property def is_locked(self): return self._device.get('is_locked')