mirror of
https://github.com/home-assistant/core.git
synced 2026-09-13 04:01:03 +01:00
19 lines
431 B
Python
19 lines
431 B
Python
"""Constants for the Bitvis Power Hub integration."""
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
if TYPE_CHECKING:
|
|
from .coordinator import BitvisListenerRegistry
|
|
|
|
DOMAIN = "bitvis"
|
|
MANUFACTURER = "Bitvis"
|
|
MODEL_NAME = "Power Hub"
|
|
|
|
DEFAULT_NAME = "Bitvis Power Hub"
|
|
DEFAULT_PORT = 58220
|
|
DISCOVERY_TIMEOUT = 30
|
|
|
|
DATA_LISTENER_REGISTRY: HassKey[BitvisListenerRegistry] = HassKey(DOMAIN)
|