'Return the state attributes.'

@property
def device_state_attributes(self):

    if (not self._departureboard):
        return
    departure = self._departureboard[0]
    params = {ATTR_ACCESSIBILITY: departure.get('accessibility', None), ATTR_ATTRIBUTION: CONF_ATTRIBUTION, ATTR_DIRECTION: departure.get('direction', None), ATTR_LINE: departure.get('sname', None), ATTR_TRACK: departure.get('track', None)}
    return {k: v for (k, v) in params.items() if v}
