'Update state data from Xbox API.'

def update(self):

    presence = self._api.get_user_presence(self._xuid)
    self._state = presence.get('state', STATE_UNKNOWN)
    self._presence = presence.get('devices', {})
