From 83b817b9d12e2908b67d07e87ed849c2193b5c13 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Tue, 21 Aug 2018 21:33:50 +0200 Subject: [PATCH] Update Xiaomi Aqara Button documentation (#6059) Update the documentation to show the click event types supported by the 1st and 2nd generation. https://github.com/home-assistant/home-assistant/issues/16097 --- source/_components/xiaomi_aqara.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/_components/xiaomi_aqara.markdown b/source/_components/xiaomi_aqara.markdown index 203ffcdcf56..d56d8821538 100644 --- a/source/_components/xiaomi_aqara.markdown +++ b/source/_components/xiaomi_aqara.markdown @@ -24,7 +24,8 @@ The `xiaomi_aqara` component allows you to integrate [Xiaomi](http://www.mi.com/ - Temperature and Humidity Sensor (1st and 2nd generation) - Motion Sensor (1st and 2nd generation) - Door and Window Sensor (1st and 2nd generation) -- Button (1st and 2nd generation) +- Button 1st generation (Single, Double, long_click_press) +- Button 2nd generation (Single, Double) - Plug aka Socket (Zigbee version, reports power consumed, power load, state and if device in use) - Wall Plug (reports power consumed, power load and state) - Aqara Wall Switch (Single) @@ -195,9 +196,9 @@ Removes a specific device. The removal is required if a device shall be paired w ## {% linkable_title Examples %} -### {% linkable_title Long Press on Smart Button %} +### {% linkable_title Long Press on Smart Button 1st Generation %} -This example plays the sound of a dog barking when the button is held down and stops the sound when the button is pressed once. +This example plays the sound of a dog barking when the button is held down and stops the sound when the button is pressed once. Only works for the round button of the 1st generation. *Note: The sound will stop playing automatically when it has ended.*