2020-05-07 14:08:51 +00:00
|
|
|
"""Constants for the devolo_home_control integration."""
|
2020-12-03 08:10:20 +00:00
|
|
|
import re
|
2020-05-07 14:08:51 +00:00
|
|
|
|
2021-12-03 16:51:30 +00:00
|
|
|
from homeassistant.const import Platform
|
|
|
|
|
2020-05-07 14:08:51 +00:00
|
|
|
DOMAIN = "devolo_home_control"
|
|
|
|
DEFAULT_MYDEVOLO = "https://www.mydevolo.com"
|
2021-12-03 16:51:30 +00:00
|
|
|
PLATFORMS = [
|
|
|
|
Platform.BINARY_SENSOR,
|
|
|
|
Platform.CLIMATE,
|
|
|
|
Platform.COVER,
|
|
|
|
Platform.LIGHT,
|
|
|
|
Platform.SENSOR,
|
2022-01-20 13:10:06 +00:00
|
|
|
Platform.SIREN,
|
2021-12-03 16:51:30 +00:00
|
|
|
Platform.SWITCH,
|
|
|
|
]
|
2020-05-07 14:08:51 +00:00
|
|
|
CONF_MYDEVOLO = "mydevolo_url"
|
2020-12-03 08:10:20 +00:00
|
|
|
GATEWAY_SERIAL_PATTERN = re.compile(r"\d{16}")
|
2021-04-22 18:38:56 +00:00
|
|
|
SUPPORTED_MODEL_TYPES = ["2600", "2601"]
|