diff --git a/homeassistant/components/sensor/xbox_live.py b/homeassistant/components/sensor/xbox_live.py index 3b59f06be31..c3c8cde0177 100644 --- a/homeassistant/components/sensor/xbox_live.py +++ b/homeassistant/components/sensor/xbox_live.py @@ -57,12 +57,12 @@ class XboxSensor(Entity): self._api = api # get profile info - profile = self._api.get_user_profile(self._xuid) + profile = self._api.get_user_gamercard(self._xuid) if profile.get('success', True) and profile.get('code', 0) != 28: self.success_init = True - self._gamertag = profile.get('Gamertag') - self._picture = profile.get('GameDisplayPicRaw') + self._gamertag = profile.get('gamertag') + self._picture = profile.get('gamerpicSmallSslImagePath') else: self.success_init = False