Skip to content

Commit

Permalink
fix(media_player): remove unnecessary refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Oct 13, 2019
1 parent c123226 commit a3fec94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/media_player.py
Expand Up @@ -212,7 +212,7 @@ async def _refresh_if_no_audiopush():
if not event_serial:
return
self._available = True
await self.async_update()
self.async_schedule_update_ha_state()
if 'last_called_change' in event.data:
if (event_serial == self.device_serial_number or
any(item['serialNumber'] ==
Expand Down

0 comments on commit a3fec94

Please sign in to comment.