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

Classes

class  InvalidAuth
 
class  MJPEGFlowHandler
 
class  MJPEGOptionsFlowHandler
 

Functions

vol.Schema async_get_schema (dict[str, Any]|MappingProxyType[str, Any] defaults, bool show_name=False)
 
tuple[dict[str, str], str] async_validate_input (HomeAssistant hass, dict[str, Any] user_input)
 
str validate_url (str url, str|None username, str password, bool verify_ssl, str authentication=HTTP_BASIC_AUTHENTICATION)
 

Detailed Description

Config flow to configure the MJPEG IP Camera integration.

Function Documentation

◆ async_get_schema()

vol.Schema homeassistant.components.mjpeg.config_flow.async_get_schema ( dict[str, Any] | MappingProxyType[str, Any]  defaults,
bool   show_name = False 
)
Return MJPEG IP Camera schema.

Definition at line 36 of file config_flow.py.

◆ async_validate_input()

tuple[dict[str, str], str] homeassistant.components.mjpeg.config_flow.async_validate_input ( HomeAssistant  hass,
dict[str, Any]   user_input 
)
Manage MJPEG IP Camera options.

Definition at line 106 of file config_flow.py.

◆ validate_url()

str homeassistant.components.mjpeg.config_flow.validate_url ( str  url,
str | None  username,
str  password,
bool  verify_ssl,
str   authentication = HTTP_BASIC_AUTHENTICATION 
)
Test if the given setting works as expected.

Definition at line 69 of file config_flow.py.