Add QVR Pro integration (#31173)
* Initial working commit * Create const file. Load camera from component. * Handle failed authentication. Bump library version. * Remove line break * Camera attributes and recording services * Add services, manifest, constant update, and exclude_channels. Prefix channel name. Update service argument. * Update codeowners * Update coveragerc * Remove codeowners line * Update codeowners again from python3 -m script.hassfest * Update homeassistant/components/qvrpro/__init__.py Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com> * Requested changes * Fix typo * Update to use exception. Bump library version. * Support stream component * Update module header * Missing property wrapper * Partial requested changes * Update coveragerc and codeowners * Move constants to const file. Add SHORT_NAME * Add conf variable * Use camera domain * More requested changes * Requested changes * Requested changes * Update prefix * Handle error condition when camera is not configured to support live streaming * Move method to camera setup. Disable stream component support. * Move auth string to library to prevent private member access Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
This commit is contained in:
parent
a25b94cd2d
commit
ee7ce47860
8 changed files with 237 additions and 0 deletions
9
homeassistant/components/qvr_pro/const.py
Normal file
9
homeassistant/components/qvr_pro/const.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
"""Constants for QVR Pro component."""
|
||||
|
||||
DOMAIN = "qvr_pro"
|
||||
SHORT_NAME = "QVR"
|
||||
|
||||
CONF_EXCLUDE_CHANNELS = "exclude_channels"
|
||||
|
||||
SERVICE_STOP_RECORD = "stop_record"
|
||||
SERVICE_START_RECORD = "start_record"
|
Loading…
Add table
Add a link
Reference in a new issue