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

Classes

class  CannotConnect
 
class  InvalidAuth
 
class  OpenGarageConfigFlow
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for OpenGarage integration.

Function Documentation

◆ validate_input()

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

Data has the keys from STEP_USER_DATA_SCHEMA with values provided by the user.

Definition at line 33 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file config_flow.py.

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.opengarage.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_DEVICE_KEY): str,
4  vol.Required(CONF_HOST, default="http://"): str,
5  vol.Optional(CONF_PORT, default=DEFAULT_PORT): int,
6  vol.Optional(CONF_VERIFY_SSL, default=False): bool,
7  }
8 )

Definition at line 23 of file config_flow.py.