ha-linak-desk/custom_components/linak_desk/const.py

35 lines
1.7 KiB
Python
Raw Normal View History

2023-03-17 18:26:04 +01:00
"""Constants for the linak integration."""
DOMAIN = "linak_desk"
UUID_HEIGHT: str = "99fa0021-338a-1024-8a49-009c0215f78a"
UUID_COMMAND: str = "99fa0002-338a-1024-8a49-009c0215f78a"
UUID_REFERENCE_INPUT: str = "99fa0031-338a-1024-8a49-009c0215f78a"
UUID_ADV_SERVICE: str = "99fa0001-338a-1024-8a49-009c0215f78a"
COMMAND_REFERENCE_INPUT_STOP: bytearray = bytearray([0x01, 0x80])
COMMAND_STOP: bytearray = bytearray([0xFF, 0x00])
COMMAND_WAKEUP: bytearray = bytearray([0xFE, 0x00])
COMMAND_UP: bytearray = bytearray([0x47, 0x00])
COMMAND_DOWN: bytearray = bytearray([0x46, 0x00])
# Listing device data
# Service found: 00001800-0000-1000-8000-00805f9b34fb
# Characteristing found: 00002a00-0000-1000-8000-00805f9b34fb
# Characteristing found: 00002a01-0000-1000-8000-00805f9b34fb
# Characteristing found: 00002a04-0000-1000-8000-00805f9b34fb
# Characteristing found: 00002aa6-0000-1000-8000-00805f9b34fb
# Service found: 00001801-0000-1000-8000-00805f9b34fb
# Characteristing found: 00002a05-0000-1000-8000-00805f9b34fb
# Service found: 99fa0001-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0002-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0003-338a-1024-8a49-009c0215f78a
# Service found: 99fa0010-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0011-338a-1024-8a49-009c0215f78a
# Service found: 99fa0020-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0021-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0029-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa002a-338a-1024-8a49-009c0215f78a
# Service found: 99fa0030-338a-1024-8a49-009c0215f78a
# Characteristing found: 99fa0031-338a-1024-8a49-009c0215f78a