Skip to content

Commit 35bc743

Browse files
committed
fix(media_player): remove unncecessary refresh
1 parent 9677d27 commit 35bc743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/alexa_media/media_player.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ async def _refresh_if_no_audiopush(already_refreshed=False):
188188
[email]) else None))
189189
if (not already_refreshed and seen_commands and
190190
('PUSH_AUDIO_PLAYER_STATE' not in seen_commands
191-
or 'PUSH_MEDIA_CHANGE' not in seen_commands)):
191+
and 'PUSH_MEDIA_CHANGE' not in seen_commands)):
192192
# force refresh if player_state update not found, see #397
193193
_LOGGER.debug(
194194
"%s: No PUSH_AUDIO_PLAYER_STATE in %s; forcing refresh",

0 commit comments

Comments
 (0)