* Add HmIP-DLD * Remove commented code * Fix errors * Format using black * Fix device count * Add missing tests * Apply changes by reviewer * Change setup entry code * Remove jammed state * Add error messages * Update homeassistant/components/homematicip_cloud/helpers.py Co-authored-by: Aaron Bach <bachya1208@gmail.com> * Add decorator * Add error log output * Update test_device.py --------- Co-authored-by: Aaron Bach <bachya1208@gmail.com>
29 lines
573 B
Python
29 lines
573 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.BUTTON,
|
|
Platform.CLIMATE,
|
|
Platform.COVER,
|
|
Platform.LIGHT,
|
|
Platform.LOCK,
|
|
Platform.SENSOR,
|
|
Platform.SWITCH,
|
|
Platform.WEATHER,
|
|
]
|
|
|
|
CONF_ACCESSPOINT = "accesspoint"
|
|
CONF_AUTHTOKEN = "authtoken"
|
|
|
|
HMIPC_NAME = "name"
|
|
HMIPC_HAPID = "hapid"
|
|
HMIPC_AUTHTOKEN = "authtoken"
|
|
HMIPC_PIN = "pin"
|