Catch exceptions when trying to enable Alexa (#64438)

This commit is contained in:
Erik Montnemery 2022-01-19 18:53:32 +01:00 committed by GitHub
parent a474c1e342
commit fd3b41dbe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ class CloudClient(Interface):
err,
)
async_call_later(self._hass, 30, enable_alexa)
except alexa_errors.NoTokenAvailable:
except (alexa_errors.NoTokenAvailable, alexa_errors.RequireRelink):
pass
async def enable_google(_):