Add Xiaomi Aqara Door Lock#5387
Merged
Merged
Conversation
8 tasks
SchumyHao
suggested changes
May 18, 2018
SchumyHao
left a comment
There was a problem hiding this comment.
Xiaomi Aqara Lock CANNOT unlock from Homeassistant, but we can use it's attribute to trigger automation.
changed_by: Show an unique ID number represent to last unlock method.
verified_wrong_times: If someone tried to unlock this lock but failed more than 3 times, this attribute will record attempt times. This attribute will clear if unlock successfully.
Member
Author
|
Thanks for your input. I will add it to the PR as soon as possible. |
| footer: true | ||
| logo: xiaomi.png | ||
| ha_category: Lock | ||
| ha_release: "0.70" |
| The `xiaomi aqara` lock platform allows you to get data (`changed_by` property, `verified_wrong_times` attribute) from your [Xiaomi](http://www.mi.com/en/) Aqara locks. | ||
| A Aqara lock cannot be controlled by Home Assistant. The property `changed_by` provides the user/key ID of the last successful unlock. | ||
|
|
||
| If someone tried to unlock the device but failed more than 3 times the `verified_wrong_times` attribute will be incremented. The counter resets on a successful unlock. |
Member
There was a problem hiding this comment.
If someone tries to unlock the device but fails more than 3 times...
|
|
||
| If someone tried to unlock the device but failed more than 3 times the `verified_wrong_times` attribute will be incremented. The counter resets on a successful unlock. | ||
|
|
||
| The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/). |
Member
There was a problem hiding this comment.
The requirement to use this platform is that you have set up the Xiaomi Aqara component.
MartinHjelmare
approved these changes
May 22, 2018
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull request in home-assistant (if applicable): home-assistant/core#14419