|
| def | __init__ (self, hass, url, port, name, username, password) |
| |
| def | cam_id (self) |
| |
| def | get_attributes (self, sensor, channel) |
| |
| def | name (self) |
| |
| def | sensors (self) |
| |
| def | start_hik (self, event) |
| |
| def | stop_hik (self, event) |
| |
| def | type (self) |
| |
Hikvision device event stream object.
Definition at line 146 of file binary_sensor.py.
◆ __init__()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.__init__ |
( |
|
self, |
|
|
|
hass, |
|
|
|
url, |
|
|
|
port, |
|
|
|
name, |
|
|
|
username, |
|
|
|
password |
|
) |
| |
◆ cam_id()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.cam_id |
( |
|
self | ) |
|
◆ get_attributes()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.get_attributes |
( |
|
self, |
|
|
|
sensor, |
|
|
|
channel |
|
) |
| |
◆ name()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.name |
( |
|
self | ) |
|
◆ sensors()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.sensors |
( |
|
self | ) |
|
Return list of available sensors and their states.
Definition at line 175 of file binary_sensor.py.
◆ start_hik()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.start_hik |
( |
|
self, |
|
|
|
event |
|
) |
| |
◆ stop_hik()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.stop_hik |
( |
|
self, |
|
|
|
event |
|
) |
| |
Shutdown Hikvision subscriptions and subscription thread on exit.
Definition at line 166 of file binary_sensor.py.
◆ type()
| def homeassistant.components.hikvision.binary_sensor.HikvisionData.type |
( |
|
self | ) |
|
◆ _name
| homeassistant.components.hikvision.binary_sensor.HikvisionData._name |
|
private |
◆ _password
| homeassistant.components.hikvision.binary_sensor.HikvisionData._password |
|
private |
◆ _port
| homeassistant.components.hikvision.binary_sensor.HikvisionData._port |
|
private |
◆ _url
| homeassistant.components.hikvision.binary_sensor.HikvisionData._url |
|
private |
◆ _username
| homeassistant.components.hikvision.binary_sensor.HikvisionData._username |
|
private |
◆ camdata
| homeassistant.components.hikvision.binary_sensor.HikvisionData.camdata |
The documentation for this class was generated from the following file: