diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index 0782cb2f390..06b9d55536c 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -218,7 +218,9 @@ class SpotifyMediaPlayer(MediaPlayerEntity): self._name = f"Spotify {name}" self._session = session self._spotify = spotify - self._scope_ok = set(session.token["scope"].split(" ")) == set(SPOTIFY_SCOPES) + self._scope_ok = set(session.token["scope"].split(" ")).issuperset( + SPOTIFY_SCOPES + ) self._currently_playing: Optional[dict] = {} self._devices: Optional[List[dict]] = [] @@ -474,6 +476,9 @@ class SpotifyMediaPlayer(MediaPlayerEntity): """Implement the websocket media browsing helper.""" if not self._scope_ok: + _LOGGER.debug( + "Spotify scopes are not set correctly, this can impact features such as media browsing" + ) raise NotImplementedError if media_content_type in [None, "library"]: