From 728c78fb464518cce85782e68d010ada9a52466c Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 9 May 2022 03:16:36 +0000 Subject: [PATCH 01/10] Add yolink integration document --- source/_integrations/yolink.markdown | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 source/_integrations/yolink.markdown diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown new file mode 100644 index 000000000000..5a151457c585 --- /dev/null +++ b/source/_integrations/yolink.markdown @@ -0,0 +1,47 @@ +--- +title: YoLink +description: Instructions on how to integrate YoLink Devices into Home Assistant. +ha_category: + - yolink +ha_release: 2022.5.4 +ha_iot_class: Cloud Push +ha_config_flow: true +ha_codeowners: + - '@YoSmart-Inc' +ha_domain: yolink +ha_platforms: + - yolink +ha_integration_type: integration +--- + +Integrates [YoLink](https://www.yosmart.com/) Devices into Home Assistant. + +You must concat us to obtain a `client_id` and `client_secret`. + +To enable this platform, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +yolink: + client_id: CLIENT_ID + client_secret: CLIENT_SECRET +``` + +Restart Home Assistant. Then, go to the frontend and authorize YoLink. + +{% configuration %} +client_id: + description: Your YoLink API client ID. + required: true + type: string +client_secret: + description: Your YoLink API client secret. + required: true + type: string +{% endconfiguration %} + +The integration is tested and verified for the following devices from YoLink: + +* YS7704 + +{% include integrations/config_flow.md %} From 35fb4bc893fbef4c6ab6a5bf7228341334c45aa8 Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 9 May 2022 06:52:00 +0000 Subject: [PATCH 02/10] Fix yolink comment --- source/_integrations/yolink.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 5a151457c585..41d6f1eed504 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -2,21 +2,21 @@ title: YoLink description: Instructions on how to integrate YoLink Devices into Home Assistant. ha_category: - - yolink -ha_release: 2022.5.4 + - sensor +ha_release: 2022.6.0 ha_iot_class: Cloud Push ha_config_flow: true ha_codeowners: - '@YoSmart-Inc' ha_domain: yolink ha_platforms: - - yolink + - sensor ha_integration_type: integration --- Integrates [YoLink](https://www.yosmart.com/) Devices into Home Assistant. -You must concat us to obtain a `client_id` and `client_secret`. +You must contact to obtain a `client_id` and `client_secret`. To enable this platform, add the following lines to your `configuration.yaml` file: From b5230a13fa5bb25c462b05d4c40c9e3ffedf1d50 Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 9 May 2022 06:53:40 +0000 Subject: [PATCH 03/10] Fix yolink comment --- source/_integrations/yolink.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 41d6f1eed504..a793d35f942f 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -2,7 +2,7 @@ title: YoLink description: Instructions on how to integrate YoLink Devices into Home Assistant. ha_category: - - sensor + - Sensor ha_release: 2022.6.0 ha_iot_class: Cloud Push ha_config_flow: true From be7b03c4bd52ab1d08d7813f67498cd5a035d863 Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 9 May 2022 07:23:09 +0000 Subject: [PATCH 04/10] Update Yolink document --- source/_integrations/yolink.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index a793d35f942f..36960849c9f7 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -29,6 +29,8 @@ yolink: Restart Home Assistant. Then, go to the frontend and authorize YoLink. +{% include integrations/config_flow.md %} + {% configuration %} client_id: description: Your YoLink API client ID. @@ -43,5 +45,3 @@ client_secret: The integration is tested and verified for the following devices from YoLink: * YS7704 - -{% include integrations/config_flow.md %} From 04691abfe5ee6164a68e3550ccadaf1e0c05dbb2 Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 17 May 2022 08:48:42 +0000 Subject: [PATCH 05/10] update yolink doc --- source/_integrations/yolink.markdown | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 36960849c9f7..00fe8d20c671 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -3,7 +3,7 @@ title: YoLink description: Instructions on how to integrate YoLink Devices into Home Assistant. ha_category: - Sensor -ha_release: 2022.6.0 +ha_release: 2022.6 ha_iot_class: Cloud Push ha_config_flow: true ha_codeowners: @@ -16,31 +16,10 @@ ha_integration_type: integration Integrates [YoLink](https://www.yosmart.com/) Devices into Home Assistant. -You must contact to obtain a `client_id` and `client_secret`. - -To enable this platform, add the following lines to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -yolink: - client_id: CLIENT_ID - client_secret: CLIENT_SECRET -``` - -Restart Home Assistant. Then, go to the frontend and authorize YoLink. - {% include integrations/config_flow.md %} -{% configuration %} -client_id: - description: Your YoLink API client ID. - required: true - type: string -client_secret: - description: Your YoLink API client secret. - required: true - type: string -{% endconfiguration %} +Unless configured otherwise, Home Assistant will use account linking provided by +Nabu Casa for authenticating with YoLink, If you want to use separate credentials, Please contact to obtain a `client_id` and `client_secret`, Then you can add your credentials via application credentials. The integration is tested and verified for the following devices from YoLink: From 116c32d2d84fbe60619b0901d49e1baf766c81d2 Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 17 May 2022 09:26:40 +0000 Subject: [PATCH 06/10] update description --- source/_integrations/yolink.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 00fe8d20c671..90a35e3b012b 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -19,7 +19,7 @@ Integrates [YoLink](https://www.yosmart.com/) Devices into Home Assistant. {% include integrations/config_flow.md %} Unless configured otherwise, Home Assistant will use account linking provided by -Nabu Casa for authenticating with YoLink, If you want to use separate credentials, Please contact to obtain a `client_id` and `client_secret`, Then you can add your credentials via application credentials. +Nabu Casa for authenticating with YoLink, If you want to use separate credentials, please contact to obtain a `client_id` and `client_secret`. Then you can add your credentials via application credentials. Settings > Devices & Services > click the menu (three dots at the top right of the screen) and then **applicaton Credentials**. Enter your credentials in the pop-up window. The integration is tested and verified for the following devices from YoLink: From ee3cbe0d628afda8deea43c7b5f0bc389e222e8f Mon Sep 17 00:00:00 2001 From: justin Date: Thu, 19 May 2022 14:36:02 +0000 Subject: [PATCH 07/10] add binary sensor platform --- source/_integrations/yolink.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 90a35e3b012b..06da748aea20 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -2,6 +2,7 @@ title: YoLink description: Instructions on how to integrate YoLink Devices into Home Assistant. ha_category: + - Binary Sensor - Sensor ha_release: 2022.6 ha_iot_class: Cloud Push @@ -11,6 +12,7 @@ ha_codeowners: ha_domain: yolink ha_platforms: - sensor + - binary_sensor ha_integration_type: integration --- From 24ba6b1df7cc32276549826531556c2efd545961 Mon Sep 17 00:00:00 2001 From: justin Date: Fri, 20 May 2022 18:37:35 +0000 Subject: [PATCH 08/10] Add more device support --- source/_integrations/yolink.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 06da748aea20..52839cdbcb36 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -4,6 +4,7 @@ description: Instructions on how to integrate YoLink Devices into Home Assistant ha_category: - Binary Sensor - Sensor + - Switch ha_release: 2022.6 ha_iot_class: Cloud Push ha_config_flow: true @@ -11,8 +12,9 @@ ha_codeowners: - '@YoSmart-Inc' ha_domain: yolink ha_platforms: - - sensor - binary_sensor + - sensor + - switch ha_integration_type: integration --- @@ -25,4 +27,8 @@ Nabu Casa for authenticating with YoLink, If you want to use separate credential The integration is tested and verified for the following devices from YoLink: +* YS6604 * YS7704 +* YS7804/5 +* YS7904 +* YS8003 From 51012ffaab56c8609f506eeeda77e3a2b1e79bbd Mon Sep 17 00:00:00 2001 From: justin Date: Mon, 23 May 2022 03:23:17 +0000 Subject: [PATCH 09/10] Add yolink siren support --- source/_integrations/yolink.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 52839cdbcb36..353bbe15e708 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -4,6 +4,7 @@ description: Instructions on how to integrate YoLink Devices into Home Assistant ha_category: - Binary Sensor - Sensor + - Siren - Switch ha_release: 2022.6 ha_iot_class: Cloud Push @@ -14,6 +15,7 @@ ha_domain: yolink ha_platforms: - binary_sensor - sensor + - siren - switch ha_integration_type: integration --- @@ -28,6 +30,7 @@ Nabu Casa for authenticating with YoLink, If you want to use separate credential The integration is tested and verified for the following devices from YoLink: * YS6604 +* YS7103 * YS7704 * YS7804/5 * YS7904 From 23579efb2940b67eeceb015a7a1cb6fcbc348a6d Mon Sep 17 00:00:00 2001 From: Matrix Date: Mon, 23 May 2022 20:56:48 +0800 Subject: [PATCH 10/10] wrong spelling --- source/_integrations/yolink.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/yolink.markdown b/source/_integrations/yolink.markdown index 353bbe15e708..e40d5843a26f 100644 --- a/source/_integrations/yolink.markdown +++ b/source/_integrations/yolink.markdown @@ -25,7 +25,7 @@ Integrates [YoLink](https://www.yosmart.com/) Devices into Home Assistant. {% include integrations/config_flow.md %} Unless configured otherwise, Home Assistant will use account linking provided by -Nabu Casa for authenticating with YoLink, If you want to use separate credentials, please contact to obtain a `client_id` and `client_secret`. Then you can add your credentials via application credentials. Settings > Devices & Services > click the menu (three dots at the top right of the screen) and then **applicaton Credentials**. Enter your credentials in the pop-up window. +Nabu Casa for authenticating with YoLink, If you want to use separate credentials, please contact to obtain a `client_id` and `client_secret`. Then you can add your credentials via application credentials. Settings > Devices & Services > click the menu (three dots at the top right of the screen) and then **Application Credentials**. Enter your credentials in the pop-up window. The integration is tested and verified for the following devices from YoLink: