Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.agent_dvr.camera Namespace Reference

Classes

class  AgentCamera
 

Functions

None async_setup_entry (HomeAssistant hass, AgentDVRConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

string _DEV_DS_ALT = "disable_alerts"
 
string _DEV_DS_REC = "stop_recording"
 
string _DEV_EN_ALT = "enable_alerts"
 
string _DEV_EN_REC = "start_recording"
 
string _DEV_SNAP = "snapshot"
 
 _LOGGER = logging.getLogger(__name__)
 
dictionary CAMERA_SERVICES
 
 SCAN_INTERVAL = timedelta(seconds=CAMERA_SCAN_INTERVAL_SECS)
 

Detailed Description

Support for Agent camera streaming.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.agent_dvr.camera.async_setup_entry ( HomeAssistant  hass,
AgentDVRConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Agent cameras.

Definition at line 39 of file camera.py.

Variable Documentation

◆ _DEV_DS_ALT

string homeassistant.components.agent_dvr.camera._DEV_DS_ALT = "disable_alerts"
private

Definition at line 25 of file camera.py.

◆ _DEV_DS_REC

string homeassistant.components.agent_dvr.camera._DEV_DS_REC = "stop_recording"
private

Definition at line 27 of file camera.py.

◆ _DEV_EN_ALT

string homeassistant.components.agent_dvr.camera._DEV_EN_ALT = "enable_alerts"
private

Definition at line 24 of file camera.py.

◆ _DEV_EN_REC

string homeassistant.components.agent_dvr.camera._DEV_EN_REC = "start_recording"
private

Definition at line 26 of file camera.py.

◆ _DEV_SNAP

string homeassistant.components.agent_dvr.camera._DEV_SNAP = "snapshot"
private

Definition at line 28 of file camera.py.

◆ _LOGGER

homeassistant.components.agent_dvr.camera._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file camera.py.

◆ CAMERA_SERVICES

dictionary homeassistant.components.agent_dvr.camera.CAMERA_SERVICES
Initial value:
1 = {
2  _DEV_EN_ALT: "async_enable_alerts",
3  _DEV_DS_ALT: "async_disable_alerts",
4  _DEV_EN_REC: "async_start_recording",
5  _DEV_DS_REC: "async_stop_recording",
6  _DEV_SNAP: "async_snapshot",
7 }

Definition at line 30 of file camera.py.

◆ SCAN_INTERVAL

homeassistant.components.agent_dvr.camera.SCAN_INTERVAL = timedelta(seconds=CAMERA_SCAN_INTERVAL_SECS)

Definition at line 20 of file camera.py.