Xiaomi Aquara hub: convert large table to list (#35134)

This commit is contained in:
c0ffeeca7 2024-10-08 15:55:09 +02:00 committed by GitHub
parent 5033a94e0b
commit 4b0d118726
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,26 +127,118 @@ The binary sensor entities allow you to get data from your [Xiaomi](https://www.
#### Type of binary sensors supported
| Name | Zigbee entity | Model no. | States | Event | Event key | Event values |
| ---- | ------------- | --------- | ------ | ----- | --------- | ------------ |
| Motion Sensor (1st gen) | motion | RTCGQ01LM | on, off | `xiaomi_aqara.motion` | | |
| Motion Sensor (2nd gen) | sensor_motion.aq2 | RTCGQ11LM | on, off | `xiaomi_aqara.motion` | | |
| Xiaomi Door and Window Sensor (1st gen) | magnet | MCCGQ01LM | on, off | | | |
| Aqara Door and Window Sensor (2nd gen) | sensor_magnet.aq2 | MCCGQ11LM | on, off | | | |
| Smoke Detector | smoke | JTYJ-GD-01LM/BW | on, off | | | |
| Gas Leak Detector | natgas | JTQJ-BF-01LM/BW | on, off | | | |
| Water Leak Sensor | sensor_wleak.aq1 | SJCGQ11LM | on, off | | | |
| Button (1st gen) | switch | WXKG01LM | on (through long_click_press), off | `xiaomi_aqara.click`| `click_type`| `long_click_press`, `hold`, `single`, `double` |
| Button (2nd gen) | sensor_switch.aq2, remote.b1acn01 | WXKG11LM | on (through long_click_press), off | `xiaomi_aqara.click` | `click_type` | `single`, `double`, `long_click_press`, `hold` |
| Button (2nd gen, model b) | sensor_switch.aq3 | WXKG12LM | off (always) | `xiaomi_aqara.click` | `click_type` | `single`, `double`, `long_click_press`, `shake` |
| Aqara Wireless Switch (Single) | 86sw1 | WXKG03LM | off (always) | `xiaomi_aqara.click` | `click_type` | `single` |
| Aqara Wireless Switch (Double) | 86sw2 | WXKG02LM | off (always) | `xiaomi_aqara.click` | `click_type` | `single`, `both` |
| Aqara Wireless Switch (Single) (2nd gen) | remote.b186acn01 | WXKG03LM | off (always) | `xiaomi_aqara.click` | `click_type` | `single`, `double`, `long` |
| Aqara Wireless Switch (Double) (2nd gen) | remote.b286acn01 | WXKG02LM | off (always) | `xiaomi_aqara.click` | `click_type` | `single`, `double`, `long`, `both`, `double_both`, `long_both` |
| Cube | cube | MFKZQ01LM | off (always) | `xiaomi_aqara.cube_action` | `action_type`, `action_value` (rotate) | `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall`, `rotate` (degrees at action_value) |
| Vibration Sensor | vibration | DJT11LM | off (always) | `xiaomi_aqara.movement` | `movement_type` | `vibrate`, `tilt`, `free_fall` |
List of supported binary sensors, including the following properties (if available): name, model no., Zigbee entity, states, and, event, event, key, and event values.
#### Automation examples for binary sensors
- **Motion Sensor (1st gen)**
- Model no.: RTCGQ01LM
- Zigbee entity: motion
- States: on, off
- Event: `xiaomi_aqara.motion`
- **Motion Sensor (2nd gen)**
- Model no.: RTCGQ11LM
- Zigbee entity: sensor_motion.aq2
- States: on, off
- Event: `xiaomi_aqara.motion`
- **Xiaomi Door and Window Sensor (1st gen)**
- Model no.: MCCGQ01LM
- Zigbee entity: magnet
- States: on, off
- **Aqara Door and Window Sensor (2nd gen)**
- Model no.: MCCGQ11LM
- Zigbee entity: sensor_magnet.aq2
- States: on, off
- **Smoke Detector**
- Model no.: JTYJ-GD-01LM/BW
- Zigbee entity: smoke
- States: on, off
- **Gas Leak Detector**
- Model no.: JTQJ-BF-01LM/BW
- Zigbee entity: natgas
- States: on, off
- **Water Leak Sensor**
- Model no.: SJCGQ11LM
- Zigbee entity: sensor_wleak.aq1
- States: on, off
- **Button (1st gen)**
- Model no.: WXKG01LM
- Zigbee entity: switch
- States: on (through long_click_press), off
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `long_click_press`, `hold`, `single`, `double`
- **Button (2nd gen)**
- Model no.: WXKG11LM
- Zigbee entity: sensor_switch.aq2, remote.b1acn01
- States: on (through long_click_press), off
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`, `double`, `long_click_press`, `hold`
- **Button (2nd gen, model b)**
- Model no.: WXKG12LM
- Zigbee entity: sensor_switch.aq3
- States: off (always)
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`, `double`, `long_click_press`, `shake`
- **Aqara Wireless Switch (Single)**
- Model no.: WXKG03LM
- Zigbee entity: 86sw1
- States: off (always)
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`
- **Aqara Wireless Switch (Double)**
- Model no.: WXKG02LM
- Zigbee entity: 86sw2
- States: off (always)
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`, `both`
- **Aqara Wireless Switch (Single) (2nd gen)**
- Model no.: WXKG03LM
- Zigbee entity: remote.b186acn01
- States: off (always)
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`, `double`, `long`
- **Aqara Wireless Switch (Double) (2nd gen)**
- Model no.: WXKG02LM
- Zigbee entity: remote.b286acn01
- States: off (always)
- Event: `xiaomi_aqara.click`
- Event key: `click_type`
- Event values: `single`, `double`, `long`, `both`, `double_both`, `long_both`
- **Cube**
- Model no.: MFKZQ01LM
- Zigbee entity: cube
- States: off (always)
- Event: `xiaomi_aqara.cube_action`
- Event key: `action_type`, `action_value` (rotate)
- Event values: `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall`, `rotate` (degrees at action_value)
- **Vibration Sensor**
- Model no.: DJT11LM
- Zigbee entity: vibration
- States: off (always)
- Event: `xiaomi_aqara.movement`
- Event key: `movement_type`
- Event values: `vibrate`, `tilt`, `free_fall`
#### Automation examples for binary sensors
##### Motion