2018-02-25 09:58:13 +00:00
|
|
|
"""Constants used be the HomeKit component."""
|
2018-02-19 22:46:22 +00:00
|
|
|
MANUFACTURER = 'HomeAssistant'
|
|
|
|
|
|
|
|
# Service: AccessoryInfomation
|
2018-02-26 03:27:40 +00:00
|
|
|
SERV_ACCESSORY_INFO = 'AccessoryInformation'
|
2018-02-19 22:46:22 +00:00
|
|
|
CHAR_MODEL = 'Model'
|
|
|
|
CHAR_MANUFACTURER = 'Manufacturer'
|
|
|
|
CHAR_SERIAL_NUMBER = 'SerialNumber'
|
|
|
|
|
|
|
|
# Service: TemperatureSensor
|
2018-02-26 03:27:40 +00:00
|
|
|
SERV_TEMPERATURE_SENSOR = 'TemperatureSensor'
|
2018-02-19 22:46:22 +00:00
|
|
|
CHAR_CURRENT_TEMPERATURE = 'CurrentTemperature'
|
|
|
|
|
|
|
|
# Service: WindowCovering
|
2018-02-26 03:27:40 +00:00
|
|
|
SERV_WINDOW_COVERING = 'WindowCovering'
|
2018-02-19 22:46:22 +00:00
|
|
|
CHAR_CURRENT_POSITION = 'CurrentPosition'
|
|
|
|
CHAR_TARGET_POSITION = 'TargetPosition'
|
|
|
|
CHAR_POSITION_STATE = 'PositionState'
|
2018-02-26 03:27:40 +00:00
|
|
|
|
|
|
|
# Properties
|
|
|
|
PROP_CELSIUS = {'minValue': -273, 'maxValue': 999}
|