diff --git a/custom_components/alexa_media/media_player.py b/custom_components/alexa_media/media_player.py index d08d02bf..92483537 100644 --- a/custom_components/alexa_media/media_player.py +++ b/custom_components/alexa_media/media_player.py @@ -188,7 +188,7 @@ async def _refresh_if_no_audiopush(already_refreshed=False): [email]) else None)) if (not already_refreshed and seen_commands and ('PUSH_AUDIO_PLAYER_STATE' not in seen_commands - or 'PUSH_MEDIA_CHANGE' not in seen_commands)): + and 'PUSH_MEDIA_CHANGE' not in seen_commands)): # force refresh if player_state update not found, see #397 _LOGGER.debug( "%s: No PUSH_AUDIO_PLAYER_STATE in %s; forcing refresh",