Initial commit

Basic functionality could work (untested!)
This commit is contained in:
patman15
2024-07-04 11:44:36 +02:00
parent f4f6323f95
commit a007861a4c
16 changed files with 637 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
"""Constants for the BLE Battery Management System integration."""
import logging
# from homeassistant.const import ( # noqa: F401
# ATTR_BATTERY_CHARGING,
# ATTR_BATTERY_LEVEL,
# ATTR_TEMPERATURE,
# ATTR_VOLTAGE,
# )
DOMAIN = "hunterdouglas_powerview_ble"
LOGGER = logging.getLogger(__package__)
UPDATE_INTERVAL = 30 # in seconds
UUID = "0000fdc1-0000-1000-8000-00805f9b34fb"
MFCT_ID = 2073
# attributes (do not change)
ATTR_RSSI = "rssi"