mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-26 00:04:35 +01:00
20 lines
422 B
Python
20 lines
422 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,
|
|
)
|