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

Classes

class  AndroidIPWebcamConfigFlow
 

Functions

dict[str, str] validate_input (HomeAssistant hass, dict[str, Any] data)
 

Variables

 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for Android IP Webcam integration.

Function Documentation

◆ validate_input()

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

Definition at line 29 of file config_flow.py.

Variable Documentation

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.android_ip_webcam.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): str,
4  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
5  vol.Inclusive(CONF_USERNAME, "authentication"): str,
6  vol.Inclusive(CONF_PASSWORD, "authentication"): str,
7  }
8 )

Definition at line 19 of file config_flow.py.