mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
parent
d4546c94b0
commit
dba405dd88
@ -8,6 +8,7 @@ from aiohttp.client_exceptions import (
|
|||||||
ClientConnectorError,
|
ClientConnectorError,
|
||||||
ClientOSError,
|
ClientOSError,
|
||||||
ServerTimeoutError,
|
ServerTimeoutError,
|
||||||
|
WSMessageTypeError,
|
||||||
)
|
)
|
||||||
from mozart_api.exceptions import ApiException
|
from mozart_api.exceptions import ApiException
|
||||||
from mozart_api.mozart_client import MozartClient
|
from mozart_api.mozart_client import MozartClient
|
||||||
@ -62,6 +63,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: BangOlufsenConfigEntry)
|
|||||||
ServerTimeoutError,
|
ServerTimeoutError,
|
||||||
ApiException,
|
ApiException,
|
||||||
TimeoutError,
|
TimeoutError,
|
||||||
|
WSMessageTypeError,
|
||||||
) as error:
|
) as error:
|
||||||
await client.close_api_client()
|
await client.close_api_client()
|
||||||
raise ConfigEntryNotReady(f"Unable to connect to {entry.title}") from error
|
raise ConfigEntryNotReady(f"Unable to connect to {entry.title}") from error
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/bang_olufsen",
|
"documentation": "https://www.home-assistant.io/integrations/bang_olufsen",
|
||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"requirements": ["mozart-api==4.1.1.116.3"],
|
"requirements": ["mozart-api==4.1.1.116.4"],
|
||||||
"zeroconf": ["_bangolufsen._tcp.local."]
|
"zeroconf": ["_bangolufsen._tcp.local."]
|
||||||
}
|
}
|
||||||
|
@ -1403,7 +1403,7 @@ motionblindsble==0.1.3
|
|||||||
motioneye-client==0.3.14
|
motioneye-client==0.3.14
|
||||||
|
|
||||||
# homeassistant.components.bang_olufsen
|
# homeassistant.components.bang_olufsen
|
||||||
mozart-api==4.1.1.116.3
|
mozart-api==4.1.1.116.4
|
||||||
|
|
||||||
# homeassistant.components.mullvad
|
# homeassistant.components.mullvad
|
||||||
mullvad-api==1.0.0
|
mullvad-api==1.0.0
|
||||||
|
@ -1172,7 +1172,7 @@ motionblindsble==0.1.3
|
|||||||
motioneye-client==0.3.14
|
motioneye-client==0.3.14
|
||||||
|
|
||||||
# homeassistant.components.bang_olufsen
|
# homeassistant.components.bang_olufsen
|
||||||
mozart-api==4.1.1.116.3
|
mozart-api==4.1.1.116.4
|
||||||
|
|
||||||
# homeassistant.components.mullvad
|
# homeassistant.components.mullvad
|
||||||
mullvad-api==1.0.0
|
mullvad-api==1.0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user