-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add yolink_local integration doc #42914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
matrixd2
wants to merge
3
commits into
home-assistant:next
Choose a base branch
from
YoSmart-Inc:yolink_local
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+69
−4
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| title: YoLink Local | ||
| description: Instructions on how to integrate YoLink Devices into Home Assistant (Local). | ||
| ha_category: | ||
| - Binary sensor | ||
| ha_release: 2026.2 | ||
| ha_category: Hub | ||
| ha_iot_class: Local Push | ||
| ha_quality_scale: bronze | ||
| ha_config_flow: true | ||
| ha_codeowners: | ||
| - '@matrixd2' | ||
| ha_domain: yolink_local | ||
| ha_platforms: | ||
| - binary_sensor | ||
| ha_integration_type: hub | ||
| --- | ||
|
|
||
| The **YoLink** {% term integration %} integrates [YoLink](https://www.yosmart.com/) devices into Home Assistant locally. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - YoSmart Local Hub (YS1606) | ||
| - The YoLink app installed | ||
| - YoLink account | ||
| - Client ID and client secret of the YoLink local API | ||
|
|
||
| ### Setting up the hub and finding the client credentials | ||
|
|
||
| 1. Install the YoLink app: | ||
| - [Android](https://play.google.com/store/apps/details?id=com.yosmart.yolink) | ||
| - [IOS](https://apps.apple.com/us/app/yolink/id1457639983) | ||
| 2. Add the Local Hub via the YoLink app. | ||
| 3. On the Local Hub's main page, select the **Local Network** button. | ||
| 4. To create the local network, select the **Create Subnet** button. | ||
| 5. The **Net Id** from the **General** tab of the Local Network page is required when adding the integration. | ||
| 6. On the Local Network page, navigate to the **Integrations** tab and enable the Local API, making sure that both the HTTP and MQTT protocols are enabled. | ||
| 7. The **Client Id** and **Client Secret** from the **Local API** are required when adding the integration. | ||
|
|
||
| {% include integrations/config_flow.md %} | ||
|
|
||
| ## Supported device list | ||
|
|
||
| The integration is tested and verified for the following devices from YoLink: | ||
|
|
||
| - YS7804-UC (Motion Sensor) | ||
| - YS7805-UC (Outdoor Motion Sensor) | ||
| - YS7903-UC (Water Leak Sensor) | ||
| - YS7904-UC (Water Leak Sensor 2) | ||
| - YS7906-UC (Water Leak Sensor 4) | ||
| - YS7916-UC (Water Leak Sensor 4 MoveAlert) | ||
| - YS7914-UC (Leak Sensor) | ||
matrixd2 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ## Removing the integration | ||
|
|
||
| This integration follows standard integration removal. | ||
|
|
||
| {% include integrations/remove_device_service.md %} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.