Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.qvr_pro Namespace Reference

Namespaces

 camera
 
 const
 

Functions

bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
int DEFAULT_PORT = 8080
 
string SERVICE_CHANNEL_GUID = "guid"
 
 SERVICE_CHANNEL_RECORD_SCHEMA
 

Detailed Description

Support for QVR Pro NVR software by QNAP.

Function Documentation

◆ setup()

bool homeassistant.components.qvr_pro.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the QVR Pro component.

Definition at line 57 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.qvr_pro._LOGGER = logging.getLogger(__name__)
private

Definition at line 33 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.qvr_pro.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_HOST): cv.string,
6  vol.Required(CONF_USERNAME): cv.string,
7  vol.Required(CONF_PASSWORD): cv.string,
8  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
9  vol.Optional(CONF_EXCLUDE_CHANNELS, default=[]): vol.All(
10  cv.ensure_list_csv, [cv.positive_int]
11  ),
12  }
13  )
14  },
15  extra=vol.ALLOW_EXTRA,
16 )

Definition at line 35 of file __init__.py.

◆ DEFAULT_PORT

int homeassistant.components.qvr_pro.DEFAULT_PORT = 8080

Definition at line 29 of file __init__.py.

◆ SERVICE_CHANNEL_GUID

string homeassistant.components.qvr_pro.SERVICE_CHANNEL_GUID = "guid"

Definition at line 31 of file __init__.py.

◆ SERVICE_CHANNEL_RECORD_SCHEMA

homeassistant.components.qvr_pro.SERVICE_CHANNEL_RECORD_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(SERVICE_CHANNEL_GUID): cv.string}
3 )

Definition at line 52 of file __init__.py.