Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ezviz.config_flow Namespace Reference

Classes

class  EzvizConfigFlow
 
class  EzvizOptionsFlowHandler
 

Functions

None _test_camera_rtsp_creds (dict data)
 
dict[str, Any] _validate_and_create_auth (dict data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary DEFAULT_OPTIONS
 

Detailed Description

Config flow for EZVIZ.

Function Documentation

◆ _test_camera_rtsp_creds()

None homeassistant.components.ezviz.config_flow._test_camera_rtsp_creds ( dict  data)
private
Try DESCRIBE on RTSP camera with credentials.

Definition at line 81 of file config_flow.py.

◆ _validate_and_create_auth()

dict[str, Any] homeassistant.components.ezviz.config_flow._validate_and_create_auth ( dict  data)
private
Try to login to EZVIZ cloud account and return token.

Definition at line 59 of file config_flow.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.ezviz.config_flow._LOGGER = logging.getLogger(__name__)
private

Definition at line 52 of file config_flow.py.

◆ DEFAULT_OPTIONS

dictionary homeassistant.components.ezviz.config_flow.DEFAULT_OPTIONS
Initial value:
1 = {
2  CONF_FFMPEG_ARGUMENTS: DEFAULT_FFMPEG_ARGUMENTS,
3  CONF_TIMEOUT: DEFAULT_TIMEOUT,
4 }

Definition at line 53 of file config_flow.py.