"""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, )