2022-05-17 07:59:39 +00:00
|
|
|
"""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"
|
2024-01-12 07:18:44 +00:00
|
|
|
ATTR_TARGET_DEVICE = "target_device"
|
|
|
|
ATTR_VOLUME = "volume"
|
|
|
|
ATTR_TEXT_MESSAGE = "message"
|
|
|
|
ATTR_REPEAT = "repeat"
|
|
|
|
ATTR_TONE = "tone"
|
2023-03-22 11:01:04 +00:00
|
|
|
YOLINK_EVENT = f"{DOMAIN}_event"
|
2023-10-01 11:21:26 +00:00
|
|
|
YOLINK_OFFLINE_TIME = 32400
|