2022-05-17 07:59:39 +00:00
|
|
|
"""Constants for the yolink integration."""
|
|
|
|
|
|
|
|
DOMAIN = "yolink"
|
|
|
|
MANUFACTURER = "YoLink"
|
|
|
|
HOME_ID = "homeId"
|
|
|
|
HOME_SUBSCRIPTION = "home_subscription"
|
|
|
|
ATTR_PLATFORM_SENSOR = "sensor"
|
2022-05-29 18:54:23 +00:00
|
|
|
ATTR_COORDINATORS = "coordinators"
|
2022-05-17 07:59:39 +00:00
|
|
|
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"
|
2022-05-20 17:06:47 +00:00
|
|
|
ATTR_DEVICE_TH_SENSOR = "THSensor"
|
|
|
|
ATTR_DEVICE_MOTION_SENSOR = "MotionSensor"
|
|
|
|
ATTR_DEVICE_LEAK_SENSOR = "LeakSensor"
|
2022-06-04 15:54:39 +00:00
|
|
|
ATTR_DEVICE_VIBRATION_SENSOR = "VibrationSensor"
|
2022-05-22 11:20:29 +00:00
|
|
|
ATTR_DEVICE_OUTLET = "Outlet"
|
2022-05-23 08:52:05 +00:00
|
|
|
ATTR_DEVICE_SIREN = "Siren"
|
2022-06-06 03:58:29 +00:00
|
|
|
ATTR_DEVICE_LOCK = "Lock"
|
2022-06-07 14:34:12 +00:00
|
|
|
ATTR_DEVICE_MANIPULATOR = "Manipulator"
|
2022-06-08 09:54:32 +00:00
|
|
|
ATTR_DEVICE_CO_SMOKE_SENSOR = "COSmokeSensor"
|
|
|
|
ATTR_DEVICE_SWITCH = "Switch"
|
2022-06-10 12:18:46 +00:00
|
|
|
ATTR_DEVICE_THERMOSTAT = "Thermostat"
|