diff --git a/custom_components/alexa_media/media_player.py b/custom_components/alexa_media/media_player.py index 5bb1b3d6..e419b590 100644 --- a/custom_components/alexa_media/media_player.py +++ b/custom_components/alexa_media/media_player.py @@ -413,6 +413,10 @@ async def refresh(self, device=None): playing_parents = list( filter( lambda x: ( + self.hass.data[DATA_ALEXAMEDIA]["accounts"][ + self._login.email + ]["entities"]["media_player"].get(x) + and self.hass.data[DATA_ALEXAMEDIA]["accounts"][ self._login.email ]["entities"]["media_player"][x].state