'Get the latest data from NetAtmo API and updates the states.'

@Throttle(MIN_TIME_BETWEEN_UPDATES)
def update(self):

    self._data.update()
    self._target_temperature = self._data.thermostatdata.setpoint_temp
    self._away = (self._data.setpoint_mode == 'away')
