'Call the Netatmo API to update the data.'

@Throttle(MIN_TIME_BETWEEN_UPDATES)
def update(self):

    import lnetatmo
    self.station_data = lnetatmo.WeatherStationData(self.auth)
    if (self.station is not None):
        self.data = self.station_data.lastData(station=self.station, exclude=3600)
    else:
        self.data = self.station_data.lastData(exclude=3600)
