🚜 Merges/Redirects mFi component pages (#9162)

* 🚜 Merges/Redirects mFi component pages

* ✏️ Tweak
This commit is contained in:
Klaas Schoute 2019-04-07 04:54:05 +02:00 committed by Fabian Affolter
parent ad298c3438
commit 22a2487b57
2 changed files with 59 additions and 64 deletions

View File

@ -1,23 +1,77 @@
--- ---
layout: page layout: page
title: "mFi Switch" title: "mFi"
description: "Instructions on how to integrate mFi switches within Home Assistant." description: "Instructions on how to integrate mFi within Home Assistant."
date: 2016-02-07 10:00 date: 2016-02-07 10:00
sidebar: true sidebar: true
comments: false comments: false
sharing: true sharing: true
footer: true footer: true
logo: ubiquiti.png logo: ubiquiti.png
ha_category: Switch ha_category:
- Network
- Sensor
- Switch
ha_iot_class: Local Polling ha_iot_class: Local Polling
ha_release: 0.13 ha_release: 0.13
redirect_from: redirect_from:
- /components/switch.mfi/ - /components/switch.mfi/
- /components/sensor.mfi/
--- ---
The `mfi` switch platform to allow you to control [mFi Controllable Power Outlets](https://www.ubnt.com/mfi/mpower/). There is currently support for the following device types within Home Assistant:
## {% linkable_title Configuration %} - [Sensor](#sensor)
- [Switch](#switch)
## {% linkable_title Sensor %}
The `mfi` sensor platform to allow you to monitor [mFi mPort interface and sensors](https://www.ubnt.com/mfi/mport/).
To add this platform to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: mfi
host: IP_ADDRESS_OF_SENSOR
username: YOUR_USERNAME
password: YOUR_PASSWORD
```
{% configuration %}
host:
description: The IP address or hostname of your mFi controller.
required: true
type: string
port:
description: The port of your mFi controller.
required: false
default: 6080 (6443 for TLS)
type: integer
username:
description: The mFi admin username.
required: true
type: string
password:
description: The mFi admin user's password.
required: true
type: string
ssl:
description: If `true`, use SSL/TLS to contact the mFi controller.
required: false
default: true
type: boolean
verify_ssl:
description: Set this to `false` if your mFi controller has a self-signed certificate.
required: false
default: true
type: boolean
{% endconfiguration %}
## {% linkable_title Switch %}
The `mfi` switch platform to allow you to control [mFi Controllable Power Outlets](https://www.ubnt.com/mfi/mpower/).
To add this platform to your installation, add the following to your `configuration.yaml` file: To add this platform to your installation, add the following to your `configuration.yaml` file:

View File

@ -1,59 +0,0 @@
---
layout: page
title: "mFi Sensor"
description: "Instructions on how to integrate mFi sensors within Home Assistant."
date: 2016-02-07 10:00
sidebar: true
comments: false
sharing: true
footer: true
logo: ubiquiti.png
ha_category: Network
ha_iot_class: Local Polling
ha_release: 0.32
---
The `mfi` sensor platform to allow you to monitor [mFi mPort interface and sensors](https://www.ubnt.com/mfi/mport/).
## {% linkable_title Configuration %}
To add this platform to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: mfi
host: IP_ADDRESS_OF_SENSOR
username: YOUR_USERNAME
password: YOUR_PASSWORD
```
{% configuration %}
host:
description: The IP address or hostname of your mFi controller.
required: true
type: string
port:
description: The port of your mFi controller.
required: false
default: 6080 (6443 for TLS)
type: integer
username:
description: The mFi admin username.
required: true
type: string
password:
description: The mFi admin user's password.
required: true
type: string
ssl:
description: If `true`, use SSL/TLS to contact the mFi controller.
required: false
default: true
type: boolean
verify_ssl:
description: Set this to `false` if your mFi controller has a self-signed certificate.
required: false
default: true
type: boolean
{% endconfiguration %}