diff --git a/custom_components/alexa_media/media_player.py b/custom_components/alexa_media/media_player.py index 62dff9d9..b4de82b0 100644 --- a/custom_components/alexa_media/media_player.py +++ b/custom_components/alexa_media/media_player.py @@ -450,7 +450,9 @@ async def refresh(self, device=None): parent_session["lemurVolume"]["memberVolume"][ self.device_serial_number ] - if parent_session.get("lemurVolume", {}).get("memberVolume") + if parent_session.get("lemurVolume", {}) + .get("memberVolume", {}) + .get(self.device_serial_number) else session["volume"] ) session = {"playerInfo": session}