Merge pull request #3643 from home-assistant/Danielhiversen-patch-1

Last action for xiaomi aqara binary sensor
This commit is contained in:
Daniel Høyer Iversen 2017-10-17 10:19:10 +02:00 committed by GitHub
commit 8a3fd920d6

View File

@ -183,7 +183,7 @@ Available events are `single`, `double`, `hold`, `long_click_press` and `long_cl
#### {% linkable_title Xiaomi Cube %}
Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall` and `rotate`.
Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swing`, `alert`, `free_fall` and `rotate`. The component stores the last action as the attribute `last_action`.
```yaml
- alias: Cube event flip90