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

Classes

class  CannotConnect
 
class  InvalidAuth
 
class  NoHomes
 
class  OptionsFlowHandler
 
class  TadoConfigFlow
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Tado integration.

Function Documentation

◆ validate_input()

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

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

Definition at line 42 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 32 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.tado.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_USERNAME): str,
4  vol.Required(CONF_PASSWORD): str,
5  }
6 )

Definition at line 34 of file config_flow.py.