added AES support, hardened connection setup
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
"""Constants for the BLE Battery Management System integration."""
|
||||
|
||||
import logging
|
||||
from typing import Final
|
||||
|
||||
from bleak.uuids import normalize_uuid_str
|
||||
# from bleak.uuids import normalize_uuid_str
|
||||
|
||||
# from homeassistant.const import ( # noqa: F401
|
||||
# ATTR_BATTERY_CHARGING,
|
||||
@@ -12,11 +13,12 @@ from bleak.uuids import normalize_uuid_str
|
||||
# )
|
||||
|
||||
|
||||
DOMAIN = "hunterdouglas_powerview_ble"
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
UUID = normalize_uuid_str("fdc1")
|
||||
MFCT_ID = 2073
|
||||
TIMEOUT = 15
|
||||
DOMAIN: Final = "hunterdouglas_powerview_ble"
|
||||
LOGGER: Final = logging.getLogger(__package__)
|
||||
MFCT_ID: Final = 2073
|
||||
TIMEOUT: Final = 15
|
||||
HOME_KEY: Final = b""
|
||||
|
||||
|
||||
# attributes (do not change)
|
||||
ATTR_RSSI = "rssi"
|
||||
|
||||
Reference in New Issue
Block a user