core/homeassistant/components/homematicip_cloud/const.py

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"