mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Move configuration details to docs
This commit is contained in:
parent
98c6e56ea4
commit
757946293e
@ -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
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user