Implement bridge-backed Home Assistant integration

This commit is contained in:
2026-09-04 12:57:32 +02:00
parent 42050010b2
commit 9766f7f9b2
25 changed files with 2154 additions and 7 deletions
+20
View File
@@ -1,3 +1,23 @@
"""Constants for the MB-Secure integration."""
from datetime import timedelta
from homeassistant.const import Platform
DOMAIN = "mb_secure"
CONF_TOKEN = "token"
DEFAULT_HOST = "localhost"
DEFAULT_PORT = 8099
DEFAULT_SCAN_INTERVAL = timedelta(minutes=1)
API_VERSION = 1
MIN_TOKEN_LENGTH = 32
PLATFORMS = (
Platform.ALARM_CONTROL_PANEL,
Platform.BINARY_SENSOR,
Platform.SENSOR,
Platform.SWITCH,
)