diff --git a/source/_components/binary_sensor.xiaomi_aqara.markdown b/source/_components/binary_sensor.xiaomi_aqara.markdown index 6f33659f78b3..f4ea307a7ebb 100644 --- a/source/_components/binary_sensor.xiaomi_aqara.markdown +++ b/source/_components/binary_sensor.xiaomi_aqara.markdown @@ -35,6 +35,29 @@ The requirement is that you have setup the [`xiaomi aqara` component](/component | Aqara Wireless Switch (Single) | 86sw1 | WXKG03LM | off (always) | `click` | `click_type` | `single` | | Aqara Wireless Switch (Double) | 86sw2 | WXKG02LM | off (always) | `click` | `click_type` | `single`, `both` | | Cube | cube | MFKZQ01LM | off (always) | `cube_action` | `action_type`, `action_value` (rotate) | `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall`, `rotate` (degrees at action_value) | +| Aqara Intelligent Door Lock | lock.aq1 | ZNMS11LM | unsecu (Unlock failure), unlocked (Unlock success: fingerprint, password, card) | `motion` | | | + + +To use an Aqara Intelligent Door Lock in your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +# aqara +xiaomi_aqara: + gateways: + - mac: xxxxxxxxxxxxxx + key: xxxxxxxxxxxxxxxxxx + lockuids: + - uid: 65536 + - uid: 65537 + - uid: 196608 +``` + +Configuration variables: + +- **uid** (*Optional*): Your door lock user ID, eg. `65536`. +The user ID contains the ID type. The integer value obtained by dividing the user ID by 65536 is the ID type. The ID type value is: 1 fingerprint, 2 password, 3 proximity card, 5 check-in password. +uid can find in mihome app. so, can be configured through the user ID list in the mihome app. ### {% linkable_title Automation examples %} diff --git a/source/_components/xiaomi_aqara.markdown b/source/_components/xiaomi_aqara.markdown index 28f40d3f8cd3..1fd18f55c275 100644 --- a/source/_components/xiaomi_aqara.markdown +++ b/source/_components/xiaomi_aqara.markdown @@ -20,6 +20,7 @@ The `xiaomi_aqara` component allows you to integrate [Xiaomi](http://www.mi.com/ - Xiaomi Aqara Gateway (lumi.gateway.v2, lumi.gateway.v3) - Aqara Air Conditioning Companion (lumi.acpartner.v3) +- Aqara Intelligent Door Lock (lock.aq1) - Temperature and Humidity Sensor (1st and 2nd generation) - Motion Sensor (1st and 2nd generation) - Door and Window Sensor (1st and 2nd generation)