Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the HomematicIP Cloud component."""
2 
3 import logging
4 
5 from homeassistant.const import Platform
6 
7 _LOGGER = logging.getLogger(".")
8 
9 DOMAIN = "homematicip_cloud"
10 
11 PLATFORMS = [
12  Platform.ALARM_CONTROL_PANEL,
13  Platform.BINARY_SENSOR,
14  Platform.BUTTON,
15  Platform.CLIMATE,
16  Platform.COVER,
17  Platform.LIGHT,
18  Platform.LOCK,
19  Platform.SENSOR,
20  Platform.SWITCH,
21  Platform.WEATHER,
22 ]
23 
24 CONF_ACCESSPOINT = "accesspoint"
25 CONF_AUTHTOKEN = "authtoken"
26 
27 HMIPC_NAME = "name"
28 HMIPC_HAPID = "hapid"
29 HMIPC_AUTHTOKEN = "authtoken"
30 HMIPC_PIN = "pin"