Try to reconnect to UniFi on 403 (#109067)
This commit is contained in:
parent
6f88cd3273
commit
f1392f8519
3 changed files with 5 additions and 11 deletions
|
@ -461,11 +461,11 @@ async def test_get_unifi_controller_verify_ssl_false(hass: HomeAssistant) -> Non
|
|||
[
|
||||
(asyncio.TimeoutError, CannotConnect),
|
||||
(aiounifi.BadGateway, CannotConnect),
|
||||
(aiounifi.Forbidden, CannotConnect),
|
||||
(aiounifi.ServiceUnavailable, CannotConnect),
|
||||
(aiounifi.RequestError, CannotConnect),
|
||||
(aiounifi.ResponseError, CannotConnect),
|
||||
(aiounifi.Unauthorized, AuthenticationRequired),
|
||||
(aiounifi.Forbidden, AuthenticationRequired),
|
||||
(aiounifi.LoginRequired, AuthenticationRequired),
|
||||
(aiounifi.AiounifiException, AuthenticationRequired),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue