mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 22:25:13 +02:00
Catch exceptions when trying to enable Alexa (#64438)
This commit is contained in:
@@ -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(_):
|
||||||
|
Reference in New Issue
Block a user