We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bdbf4 commit 89a057bCopy full SHA for 89a057b
custom_components/alexa_media/media_player.py
@@ -529,6 +529,7 @@ def state(self):
529
return STATE_IDLE
530
return STATE_STANDBY
531
532
+ @_catch_login_errors
533
async def async_update(self):
534
"""Get the latest details on a media player.
535
custom_components/alexa_media/switch.py
@@ -224,6 +224,7 @@ def should_poll(self):
224
return not (self.hass.data[DATA_ALEXAMEDIA]
225
['accounts'][self._account]['websocket'])
226
227
228
229
"""Update state."""
230
try:
0 commit comments