Add YoLink product integration (#69167)
* 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
This commit is contained in:
parent
513e276bba
commit
e0154d6fb1
19 changed files with 740 additions and 1 deletions
16
homeassistant/components/yolink/const.py
Normal file
16
homeassistant/components/yolink/const.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
"""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"
|
Loading…
Add table
Add a link
Reference in a new issue