mirror of
https://github.com/home-assistant/core.git
synced 2026-05-25 01:40:15 +01:00
e4ef06d6b1
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
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,
|
|
)
|