update header

This commit is contained in:
Fabian Affolter 2015-08-06 18:23:10 +02:00
parent 5fa34b10b3
commit b946b3b2bc

View File

@ -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