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

Classes

class  CannotConnect
 
class  DoorBirdConfigFlow
 
class  InvalidAuth
 
class  OptionsFlowHandler
 

Functions

vol.Schema _schema_with_defaults (str|None host=None, str|None name=None)
 
bool async_verify_supported_device (HomeAssistant hass, str host)
 
dict[str, str] validate_input (HomeAssistant hass, dict[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 AUTH_SCHEMA = vol.Schema(AUTH_VOL_DICT)
 
dictionary DEFAULT_OPTIONS = {CONF_EVENTS: [DEFAULT_DOORBELL_EVENT, DEFAULT_MOTION_EVENT]}
 
 VolDictType
 

Detailed Description

Config flow for DoorBird integration.

Function Documentation

◆ _schema_with_defaults()

vol.Schema homeassistant.components.doorbird.config_flow._schema_with_defaults ( str | None   host = None,
str | None   name = None 
)
private

Definition at line 48 of file config_flow.py.

◆ async_verify_supported_device()

bool homeassistant.components.doorbird.config_flow.async_verify_supported_device ( HomeAssistant  hass,
str  host 
)
Verify the doorbell state endpoint returns a 401.

Definition at line 81 of file config_flow.py.

◆ validate_input()

dict[str, str] homeassistant.components.doorbird.config_flow.validate_input ( HomeAssistant  hass,
dict[str, Any]  data 
)
Validate the user input allows us to connect.

Definition at line 60 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 36 of file config_flow.py.

◆ AUTH_SCHEMA

homeassistant.components.doorbird.config_flow.AUTH_SCHEMA = vol.Schema(AUTH_VOL_DICT)

Definition at line 45 of file config_flow.py.

◆ DEFAULT_OPTIONS

dictionary homeassistant.components.doorbird.config_flow.DEFAULT_OPTIONS = {CONF_EVENTS: [DEFAULT_DOORBELL_EVENT, DEFAULT_MOTION_EVENT]}

Definition at line 38 of file config_flow.py.

◆ VolDictType

homeassistant.components.doorbird.config_flow.VolDictType

Definition at line 41 of file config_flow.py.