1
mirror of https://github.com/home-assistant/core synced 2024-10-07 10:13:38 +02:00
ha-core/homeassistant/components/devolo_home_control/const.py

20 lines
474 B
Python
Raw Normal View History

2020-05-07 16:08:51 +02:00
"""Constants for the devolo_home_control integration."""
import re
2020-05-07 16:08:51 +02:00
from homeassistant.const import Platform
2020-05-07 16:08:51 +02:00
DOMAIN = "devolo_home_control"
DEFAULT_MYDEVOLO = "https://www.mydevolo.com"
PLATFORMS = [
Platform.BINARY_SENSOR,
Platform.CLIMATE,
Platform.COVER,
Platform.LIGHT,
Platform.SENSOR,
Platform.SIREN,
Platform.SWITCH,
]
2020-05-07 16:08:51 +02:00
CONF_MYDEVOLO = "mydevolo_url"
GATEWAY_SERIAL_PATTERN = re.compile(r"\d{16}")
SUPPORTED_MODEL_TYPES = ["2600", "2601"]