Skip to content

Commit

Permalink
fix(media_player): set proper last_update on init
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Jan 15, 2020
1 parent b16a2fe commit 69e7d80
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 @@ -168,7 +168,7 @@ def __init__(self, device, login):
self._dnd = None
# Polling state
self._should_poll = True
self._last_update = 0
self._last_update = util.utcnow()

async def init(self, device):
"""Initialize."""
Expand Down

0 comments on commit 69e7d80

Please sign in to comment.