mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-08-02 05:58:12 +00:00
Remove blank lines
This commit is contained in:
parent
2385b618a2
commit
3c8b317da2
@ -34,7 +34,6 @@ The `xiaomi` platform allows you to integrate the following [Xiaomi](http://www.
|
|||||||
- Intelligent Curtain
|
- Intelligent Curtain
|
||||||
- Battery
|
- Battery
|
||||||
|
|
||||||
|
|
||||||
What's not available?
|
What's not available?
|
||||||
|
|
||||||
- Gateway Radio
|
- Gateway Radio
|
||||||
@ -45,12 +44,11 @@ What's not available?
|
|||||||
- Decoupled mode of the Aqara Wall Switches (Single & Double)
|
- 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
|
- 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)
|
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:
|
To enable Xioami gateway in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
One Gateway
|
### {% linkable_title One Gateway %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# You can leave mac empty if you only have one gateway.
|
# You can leave mac empty if you only have one gateway.
|
||||||
@ -60,8 +58,7 @@ xiaomi:
|
|||||||
key: xxxxxxxxxxxxxxxx
|
key: xxxxxxxxxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### {% linkable_title Multiple Gateways %}
|
||||||
Multiple Gateways
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# 12 characters mac can be obtained from the gateway.
|
# 12 characters mac can be obtained from the gateway.
|
||||||
@ -73,12 +70,10 @@ xiaomi:
|
|||||||
key: xxxxxxxxxxxxxxxx
|
key: xxxxxxxxxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### {% linkable_title Search for gateways on specific interface %}
|
||||||
|
|
||||||
Search for gateways on specific interface
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# 12 characters mac can be obtained from the gateway.
|
# 12 characters MAC can be obtained from the gateway.
|
||||||
xiaomi:
|
xiaomi:
|
||||||
interface: '192.168.0.1'
|
interface: '192.168.0.1'
|
||||||
gateways:
|
gateways:
|
||||||
@ -86,7 +81,6 @@ xiaomi:
|
|||||||
key: xxxxxxxxxxxxxxxx
|
key: xxxxxxxxxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **mac** (*Optional*): The MAC of your gateway. Required if you have more than one.
|
- **mac** (*Optional*): The MAC of your gateway. Required if you have more than one.
|
||||||
@ -133,12 +127,11 @@ Automation example
|
|||||||
gw_mac: xxxxxxxxxxxx
|
gw_mac: xxxxxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### {% linkable_title Troubleshooting %}
|
### {% linkable_title Troubleshooting %}
|
||||||
|
|
||||||
**Connection problem**
|
**Connection problem**
|
||||||
|
|
||||||
```
|
```bash
|
||||||
2017-08-20 16:51:19 ERROR (SyncWorker_0) [homeassistant.components.xiaomi] No gateway discovered
|
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.
|
2017-08-20 16:51:20 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi: Component failed to initialize.
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user