Files
hdpv_ble/custom_components/hunterdouglas_powerview_ble/const.py
Richard Mann 31185a4446 Improve config flow UX for multi-shade setups
Reuse the home key from already-configured shades so adding subsequent
shades skips the key step. Show human-readable shade names from the hub
in the device picker. Allow selecting multiple shades at once instead of
repeating the flow for each one. Default to hub fetch as the key method.
2026-04-06 09:07:16 +10:00

15 lines
359 B
Python

"""Constants for the BLE Battery Management System integration."""
import logging
from typing import Final
DOMAIN: Final[str] = "hunterdouglas_powerview_ble"
LOGGER: Final = logging.getLogger(__package__)
MFCT_ID: Final[int] = 2073
TIMEOUT: Final[int] = 5
CONF_HOME_KEY: Final[str] = "home_key"
# attributes (do not change)
ATTR_RSSI: Final[str] = "rssi"