19 lines
570 B
Python
19 lines
570 B
Python
|
"""Constants used be the homekit component."""
|
||
|
MANUFACTURER = 'HomeAssistant'
|
||
|
|
||
|
# Service: AccessoryInfomation
|
||
|
SERVICES_ACCESSORY_INFO = 'AccessoryInformation'
|
||
|
CHAR_MODEL = 'Model'
|
||
|
CHAR_MANUFACTURER = 'Manufacturer'
|
||
|
CHAR_SERIAL_NUMBER = 'SerialNumber'
|
||
|
|
||
|
# Service: TemperatureSensor
|
||
|
SERVICES_TEMPERATURE_SENSOR = 'TemperatureSensor'
|
||
|
CHAR_CURRENT_TEMPERATURE = 'CurrentTemperature'
|
||
|
|
||
|
# Service: WindowCovering
|
||
|
SERVICES_WINDOW_COVERING = 'WindowCovering'
|
||
|
CHAR_CURRENT_POSITION = 'CurrentPosition'
|
||
|
CHAR_TARGET_POSITION = 'TargetPosition'
|
||
|
CHAR_POSITION_STATE = 'PositionState'
|