mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
update header
This commit is contained in:
parent
5fa34b10b3
commit
b946b3b2bc
@ -1,19 +1,16 @@
|
|||||||
"""
|
"""
|
||||||
homeassistant.components.switch.hikvision
|
homeassistant.components.switch.hikvision
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Support turning on/off motion detection on Hikvision cameras.
|
Support turning on/off motion detection on Hikvision cameras.
|
||||||
|
|
||||||
Note: Currently works using default https port only.
|
Note: Currently works using default https port only.
|
||||||
|
|
||||||
CGI API Guide:
|
CGI API Guide: http://bit.ly/1RuyUuF
|
||||||
http://bit.ly/1RuyUuF
|
|
||||||
|
|
||||||
Configuration:
|
Configuration:
|
||||||
|
|
||||||
To use the Hikvision motion detection
|
To use the Hikvision motion detection switch you will need to add something
|
||||||
switch you will need to add something like the
|
like the following to your config/configuration.yaml
|
||||||
following to your config/configuration.yaml
|
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
platform: hikvisioncam
|
platform: hikvisioncam
|
||||||
@ -39,7 +36,6 @@ Your Hikvision camera username
|
|||||||
name
|
name
|
||||||
*Optional
|
*Optional
|
||||||
The name to use when displaying this switch instance.
|
The name to use when displaying this switch instance.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from homeassistant.helpers.entity import ToggleEntity
|
from homeassistant.helpers.entity import ToggleEntity
|
||||||
from homeassistant.const import STATE_ON, STATE_OFF
|
from homeassistant.const import STATE_ON, STATE_OFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user