core/homeassistant/components/elmax/const.py

23 lines
525 B
Python
Raw Normal View History

"""Constants for the elmax-cloud integration."""
from homeassistant.const import Platform
DOMAIN = "elmax"
CONF_ELMAX_USERNAME = "username"
CONF_ELMAX_PASSWORD = "password"
CONF_ELMAX_PANEL_ID = "panel_id"
CONF_ELMAX_PANEL_PIN = "panel_pin"
CONF_ELMAX_PANEL_NAME = "panel_name"
CONF_CONFIG_ENTRY_ID = "config_entry_id"
CONF_ENDPOINT_ID = "endpoint_id"
2022-12-18 16:12:43 +00:00
ELMAX_PLATFORMS = [
Platform.SWITCH,
Platform.BINARY_SENSOR,
Platform.ALARM_CONTROL_PANEL,
Platform.COVER,
2022-12-18 16:12:43 +00:00
]
POLLING_SECONDS = 30
DEFAULT_TIMEOUT = 10.0