32 lines
863 B
Python
32 lines
863 B
Python
"""Constants for the Homeassistant Hardware integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import logging
|
|
from typing import TYPE_CHECKING
|
|
|
|
from homeassistant.util.hass_dict import HassKey
|
|
|
|
if TYPE_CHECKING:
|
|
from .helpers import HardwareInfoDispatcher
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "homeassistant_hardware"
|
|
DATA_COMPONENT: HassKey[HardwareInfoDispatcher] = HassKey(DOMAIN)
|
|
|
|
ZHA_DOMAIN = "zha"
|
|
OTBR_DOMAIN = "otbr"
|
|
|
|
OTBR_ADDON_NAME = "OpenThread Border Router"
|
|
OTBR_ADDON_MANAGER_DATA = "openthread_border_router"
|
|
OTBR_ADDON_SLUG = "core_openthread_border_router"
|
|
|
|
ZIGBEE_FLASHER_ADDON_NAME = "Silicon Labs Flasher"
|
|
ZIGBEE_FLASHER_ADDON_MANAGER_DATA = "silabs_flasher"
|
|
ZIGBEE_FLASHER_ADDON_SLUG = "core_silabs_flasher"
|
|
|
|
SILABS_MULTIPROTOCOL_ADDON_SLUG = "core_silabs_multiprotocol"
|
|
SILABS_FLASHER_ADDON_SLUG = "core_silabs_flasher"
|