mirror of https://github.com/home-assistant/core
36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
"""Constants for the yolink integration."""
|
|
|
|
DOMAIN = "yolink"
|
|
MANUFACTURER = "YoLink"
|
|
ATTR_DEVICE = "devices"
|
|
ATTR_DEVICE_TYPE = "type"
|
|
ATTR_DEVICE_NAME = "name"
|
|
ATTR_DEVICE_STATE = "state"
|
|
ATTR_DEVICE_ID = "deviceId"
|
|
ATTR_TARGET_DEVICE = "target_device"
|
|
ATTR_VOLUME = "volume"
|
|
ATTR_TEXT_MESSAGE = "message"
|
|
ATTR_REPEAT = "repeat"
|
|
ATTR_TONE = "tone"
|
|
YOLINK_EVENT = f"{DOMAIN}_event"
|
|
YOLINK_OFFLINE_TIME = 32400
|
|
|
|
DEV_MODEL_WATER_METER_YS5007 = "YS5007"
|
|
DEV_MODEL_MULTI_OUTLET_YS6801 = "YS6801"
|
|
DEV_MODEL_TH_SENSOR_YS8004_UC = "YS8004-UC"
|
|
DEV_MODEL_TH_SENSOR_YS8004_EC = "YS8004-EC"
|
|
DEV_MODEL_TH_SENSOR_YS8008_UC = "YS8008-UC"
|
|
DEV_MODEL_TH_SENSOR_YS8008_EC = "YS8008-EC"
|
|
DEV_MODEL_TH_SENSOR_YS8014_UC = "YS8014-UC"
|
|
DEV_MODEL_TH_SENSOR_YS8014_EC = "YS8014-EC"
|
|
DEV_MODEL_TH_SENSOR_YS8017_UC = "YS8017-UC"
|
|
DEV_MODEL_TH_SENSOR_YS8017_EC = "YS8017-EC"
|
|
DEV_MODEL_FLEX_FOB_YS3604_UC = "YS3604-UC"
|
|
DEV_MODEL_FLEX_FOB_YS3604_EC = "YS3604-EC"
|
|
DEV_MODEL_FLEX_FOB_YS3614_UC = "YS3614-UC"
|
|
DEV_MODEL_FLEX_FOB_YS3614_EC = "YS3614-EC"
|
|
DEV_MODEL_PLUG_YS6602_UC = "YS6602-UC"
|
|
DEV_MODEL_PLUG_YS6602_EC = "YS6602-EC"
|
|
DEV_MODEL_PLUG_YS6803_UC = "YS6803-UC"
|
|
DEV_MODEL_PLUG_YS6803_EC = "YS6803-EC"
|