From 3c8b317da2b2731fc3e5f2e8e8bc34833164531b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 26 Aug 2017 12:43:25 +0200 Subject: [PATCH] Remove blank lines --- source/_components/xiaomi.markdown | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/source/_components/xiaomi.markdown b/source/_components/xiaomi.markdown index 10761039c6c..274fcc012f1 100644 --- a/source/_components/xiaomi.markdown +++ b/source/_components/xiaomi.markdown @@ -34,7 +34,6 @@ The `xiaomi` platform allows you to integrate the following [Xiaomi](http://www. - Intelligent Curtain - Battery - What's not available? - Gateway Radio @@ -45,12 +44,11 @@ What's not available? - Decoupled mode of the Aqara Wall Switches (Single & Double) - Additional alarm events of the Gas and Smoke Detector: Analog alarm, battery fault alarm (smoke detector only), sensitivity fault alarm, I2C communication failure - Follow the setup process using your phone and Mi Home app. From here you will be able to retrieve the key from within the app following [this tutorial](https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1832) To enable Xioami gateway in your installation, add the following to your `configuration.yaml` file: -One Gateway +### {% linkable_title One Gateway %} ```yaml # You can leave mac empty if you only have one gateway. @@ -60,8 +58,7 @@ xiaomi: key: xxxxxxxxxxxxxxxx ``` - -Multiple Gateways +### {% linkable_title Multiple Gateways %} ```yaml # 12 characters mac can be obtained from the gateway. @@ -73,12 +70,10 @@ xiaomi: key: xxxxxxxxxxxxxxxx ``` - - -Search for gateways on specific interface +### {% linkable_title Search for gateways on specific interface %} ```yaml -# 12 characters mac can be obtained from the gateway. +# 12 characters MAC can be obtained from the gateway. xiaomi: interface: '192.168.0.1' gateways: @@ -86,7 +81,6 @@ xiaomi: key: xxxxxxxxxxxxxxxx ``` - Configuration variables: - **mac** (*Optional*): The MAC of your gateway. Required if you have more than one. @@ -133,12 +127,11 @@ Automation example gw_mac: xxxxxxxxxxxx ``` - ### {% linkable_title Troubleshooting %} **Connection problem** -``` +```bash 2017-08-20 16:51:19 ERROR (SyncWorker_0) [homeassistant.components.xiaomi] No gateway discovered 2017-08-20 16:51:20 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi: Component failed to initialize. ```