28 lines
844 B
Python
28 lines
844 B
Python
"""Constants for the yolink integration."""
|
|
|
|
DOMAIN = "yolink"
|
|
MANUFACTURER = "YoLink"
|
|
HOME_ID = "homeId"
|
|
HOME_SUBSCRIPTION = "home_subscription"
|
|
ATTR_PLATFORM_SENSOR = "sensor"
|
|
ATTR_COORDINATORS = "coordinators"
|
|
ATTR_DEVICE = "devices"
|
|
ATTR_DEVICE_TYPE = "type"
|
|
ATTR_DEVICE_NAME = "name"
|
|
ATTR_DEVICE_STATE = "state"
|
|
ATTR_CLIENT = "client"
|
|
ATTR_MQTT_CLIENT = "mqtt_client"
|
|
ATTR_DEVICE_ID = "deviceId"
|
|
ATTR_DEVICE_DOOR_SENSOR = "DoorSensor"
|
|
ATTR_DEVICE_TH_SENSOR = "THSensor"
|
|
ATTR_DEVICE_MOTION_SENSOR = "MotionSensor"
|
|
ATTR_DEVICE_LEAK_SENSOR = "LeakSensor"
|
|
ATTR_DEVICE_VIBRATION_SENSOR = "VibrationSensor"
|
|
ATTR_DEVICE_OUTLET = "Outlet"
|
|
ATTR_DEVICE_SIREN = "Siren"
|
|
ATTR_DEVICE_LOCK = "Lock"
|
|
ATTR_DEVICE_MANIPULATOR = "Manipulator"
|
|
ATTR_DEVICE_CO_SMOKE_SENSOR = "COSmokeSensor"
|
|
ATTR_DEVICE_SWITCH = "Switch"
|
|
ATTR_DEVICE_THERMOSTAT = "Thermostat"
|