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.
15 lines
359 B
Python
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"
|