diff --git a/nest/nest.py b/nest/nest.py index aa515d8..2bf7218 100644 --- a/nest/nest.py +++ b/nest/nest.py @@ -267,6 +267,10 @@ def device_id(self): def online(self): return self._device.get('is_online') + @property + def software_version(self): + return self._device.get('software_version') + @property def structure(self): if 'structure_id' in self._device: @@ -336,10 +340,6 @@ def _track(self): raise NotImplementedError("Deprecated Nest API") # return self._nest_api._status['track'][self._serial] - @property - def software_version(self): - return self._device.get('software_version') - @property def fan(self): # FIXME confirm this is the same as old havac_fan_state @@ -920,10 +920,6 @@ def smoke_sequence_number(self): def smoke_status(self): return self._device.get('smoke_alarm_state') - @property - def software_version(self): - return self._device.get('software_version') - @property def spoken_where_id(self): raise NotImplementedError("No longer available in Nest API") @@ -1301,11 +1297,6 @@ def resource_id(self): raise NotImplementedError("No longer available in Nest API") # return self._device['resource_id'] - @property - def software_version(self): - raise NotImplementedError("No longer available in Nest API") - # return self._device['software_version'] - @property def spoken_where_id(self): raise NotImplementedError("No longer available in Nest API")