Skip to content

Commit

Permalink
fix: update ha state even if skip_api called
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Sep 30, 2020
1 parent 634a7a9 commit 9ea414b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/alexa_media/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ async def refresh(self, device=None, skip_api: bool = False):
"accounts"
][self._login.email]["last_called"]["timestamp"]
if skip_api:
self.async_write_ha_state()
return
if "MUSIC_SKILL" in self._capabilities:
if self._parent_clusters and self.hass:
Expand Down

0 comments on commit 9ea414b

Please sign in to comment.