* add yolink integration with door sensor * Add test flow and update .coveragerc * Yolink integration Bug fix * resovle test flow * issues resolve * issues resolve * issues resolve * resolve issues * issues resolve * issues resolve * change .coveragerc and test_flow * Update yolink api version * add test for config entry * change config flow and add test cases * remove config entry data * Add token check for re-auth test flow * fix test flow issues * Add application credentials * Add alias for application_credentials * support application credentials and cloud account linking * fix suggest change
16 lines
438 B
Python
16 lines
438 B
Python
"""Constants for the yolink integration."""
|
|
|
|
DOMAIN = "yolink"
|
|
MANUFACTURER = "YoLink"
|
|
HOME_ID = "homeId"
|
|
HOME_SUBSCRIPTION = "home_subscription"
|
|
ATTR_PLATFORM_SENSOR = "sensor"
|
|
ATTR_COORDINATOR = "coordinator"
|
|
ATTR_DEVICE = "devices"
|
|
ATTR_DEVICE_TYPE = "type"
|
|
ATTR_DEVICE_NAME = "name"
|
|
ATTR_DEVICE_STATE = "state"
|
|
ATTR_CLIENT = "client"
|
|
ATTR_MQTT_CLIENT = "mqtt_client"
|
|
ATTR_DEVICE_ID = "deviceId"
|
|
ATTR_DEVICE_DOOR_SENSOR = "DoorSensor"
|