'Get the latest data from the ISS API.'

@Throttle(MIN_TIME_BETWEEN_UPDATES)
def update(self):

    import pyiss
    try:
        iss = pyiss.ISS()
        self.is_above = iss.is_ISS_above(self.latitude, self.longitude)
        self.next_rise = iss.next_rise(self.latitude, self.longitude)
        self.number_of_people_in_space = iss.number_of_people_in_space()
        self.position = iss.current_location()
    except requests.exceptions.HTTPError as error:
        _LOGGER.error(error)
        return False
