Move configuration details to docs

This commit is contained in:
Fabian Affolter 2016-02-07 11:52:17 +01:00
parent 98c6e56ea4
commit 757946293e
3 changed files with 11 additions and 80 deletions

View File

@ -1,29 +1,10 @@
""" """
Ubiquiti Unifi Video Cameras homeassistant.components.camera.uvc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Ubiquiti's UVC cameras Support for Ubiquiti's UVC cameras.
Configuration: For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/camera.uvc/
camera:
platform: uvc
nvr: ADDRESS
port: PORT
key: APIKEY
Variable:
nvr
*Required
ADDRESS should be the IP or hostname of the NVR server
port
*Optional
PORT is the port number to use for accessing the NVR
key
*Required
APIKEY should be the API key available from the NVR web interface
""" """
import logging import logging
import socket import socket

View File

@ -1,36 +1,11 @@
""" """
homeassistant.components.sensor.mfi homeassistant.components.sensor.mfi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Ubiquiti mFi Sensors. Support for Ubiquiti mFi sensors.
Configuration: For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.mfi/
sensor:
platform: mfi
host: ADDRESS
port: PORT
username: USERNAME
password: PASSWORD
Variable:
host
*Required
ADDRESS is the IP or hostname of your mFi controller.
port
*Optional
PORT is the port of your mFi controller (usually 6443)
username
*Required
USERNAME is the mFi admin username
password
*Required
PASSWORD is the mFi admin user's password
""" """
import logging import logging
from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD,

View File

@ -1,36 +1,11 @@
""" """
homeassistant.components.switch.mfi homeassistant.components.switch.mfi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Ubiquiti mFi Switches. Support for Ubiquiti mFi switches.
Configuration: For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.mfi/
sensor:
platform: mfi
host: ADDRESS
port: PORT
username: USERNAME
password: PASSWORD
Variable:
host
*Required
ADDRESS is the IP or hostname of your mFi controller.
port
*Optional
PORT is the port of your mFi controller (usually 6443)
username
*Required
USERNAME is the mFi admin username
password
*Required
PASSWORD is the mFi admin user's password
""" """
import logging import logging
from homeassistant.components.switch import DOMAIN, SwitchDevice from homeassistant.components.switch import DOMAIN, SwitchDevice