core/homeassistant/components/devolo_home_control/const.py

19 lines
398 B
Python
Raw Normal View History

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