'Return the state attributes.'

@property
def device_state_attributes(self):

    if (self._times is not None):
        next_up = 'None'
        if self._times:
            next_up = (self._times[1][ATTR_ROUTE] + '    in    ')
            next_up += self._times[1][ATTR_DUE_IN]
        return {ATTR_DUE_IN: self._times[0][ATTR_DUE_IN], ATTR_DUE_AT: self._times[0][ATTR_DUE_AT], ATTR_STOP_ID: self._stop, ATTR_ROUTE: self._times[0][ATTR_ROUTE], ATTR_ATTRIBUTION: CONF_ATTRIBUTION, ATTR_NEXT_UP: next_up}
