mirror of
https://github.com/home-assistant/core.git
synced 2025-05-03 13:39:16 +00:00
21 lines
435 B
Python
21 lines
435 B
Python
"""Constants for the System Bridge integration."""
|
|
import asyncio
|
|
|
|
from aiohttp.client_exceptions import (
|
|
ClientConnectionError,
|
|
ClientConnectorError,
|
|
ClientResponseError,
|
|
)
|
|
from systembridge.exceptions import BridgeException
|
|
|
|
DOMAIN = "system_bridge"
|
|
|
|
BRIDGE_CONNECTION_ERRORS = (
|
|
asyncio.TimeoutError,
|
|
BridgeException,
|
|
ClientConnectionError,
|
|
ClientConnectorError,
|
|
ClientResponseError,
|
|
OSError,
|
|
)
|