1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/homematicip_cloud/const.py
Marc Mueller 40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00

28 lines
533 B
Python

"""Constants for the HomematicIP Cloud component."""
import logging
from homeassistant.const import Platform
_LOGGER = logging.getLogger(".")
DOMAIN = "homematicip_cloud"
PLATFORMS = [
Platform.ALARM_CONTROL_PANEL,
Platform.BINARY_SENSOR,
Platform.CLIMATE,
Platform.COVER,
Platform.LIGHT,
Platform.SENSOR,
Platform.SWITCH,
Platform.WEATHER,
]
CONF_ACCESSPOINT = "accesspoint"
CONF_AUTHTOKEN = "authtoken"
HMIPC_NAME = "name"
HMIPC_HAPID = "hapid"
HMIPC_AUTHTOKEN = "authtoken"
HMIPC_PIN = "pin"