mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Move configuration details to docs
This commit is contained in:
parent
98c6e56ea4
commit
757946293e
@ -1,29 +1,10 @@
|
||||
"""
|
||||
Ubiquiti Unifi Video Cameras
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Support for Ubiquiti's UVC cameras
|
||||
homeassistant.components.camera.uvc
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Support for Ubiquiti's UVC cameras.
|
||||
|
||||
Configuration:
|
||||
|
||||
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
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/camera.uvc/
|
||||
"""
|
||||
import logging
|
||||
import socket
|
||||
|
@ -1,36 +1,11 @@
|
||||
"""
|
||||
homeassistant.components.sensor.mfi
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Support for Ubiquiti mFi Sensors.
|
||||
Support for Ubiquiti mFi sensors.
|
||||
|
||||
Configuration:
|
||||
|
||||
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
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/sensor.mfi/
|
||||
"""
|
||||
|
||||
import logging
|
||||
|
||||
from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD,
|
||||
|
@ -1,36 +1,11 @@
|
||||
"""
|
||||
homeassistant.components.switch.mfi
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Support for Ubiquiti mFi Switches.
|
||||
Support for Ubiquiti mFi switches.
|
||||
|
||||
Configuration:
|
||||
|
||||
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
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/switch.mfi/
|
||||
"""
|
||||
|
||||
import logging
|
||||
|
||||
from homeassistant.components.switch import DOMAIN, SwitchDevice
|
||||
|
Loading…
x
Reference in New Issue
Block a user