Catch exceptions when trying to enable Alexa (#64438)
This commit is contained in:
parent
a474c1e342
commit
fd3b41dbe0
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class CloudClient(Interface):
|
||||||
err,
|
err,
|
||||||
)
|
)
|
||||||
async_call_later(self._hass, 30, enable_alexa)
|
async_call_later(self._hass, 30, enable_alexa)
|
||||||
except alexa_errors.NoTokenAvailable:
|
except (alexa_errors.NoTokenAvailable, alexa_errors.RequireRelink):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
async def enable_google(_):
|
async def enable_google(_):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue