'Return the state attributes.'

@property
def device_state_attributes(self):

    if self.iss_data:
        attrs = {ATTR_ISS_NUMBER_PEOPLE_SPACE: self.iss_data.number_of_people_in_space, ATTR_ISS_NEXT_RISE: self.iss_data.next_rise}
        if self._show_on_map:
            attrs[ATTR_LONGITUDE] = self.iss_data.position.get('longitude')
            attrs[ATTR_LATITUDE] = self.iss_data.position.get('latitude')
        else:
            attrs['long'] = self.iss_data.position.get('longitude')
            attrs['lat'] = self.iss_data.position.get('latitude')
        return attrs
