Skip to content

Commit

Permalink
fix(media_player): fix refresh of WHA children
Browse files Browse the repository at this point in the history
Change the var trigger for children refreshing to be isPlayingInLemur
  • Loading branch information
alandtse committed Jan 2, 2020
1 parent 51a29ff commit e0f7df1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/alexa_media/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,7 @@ async def refresh(self, device=None):
)
else self._media_vol_level
)
if not self.hass:
return
if self.hass and self._session.get("isPlayingInLemur"):
asyncio.gather(
*map(
lambda x: (
Expand Down

0 comments on commit e0f7df1

Please sign in to comment.