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

Classes

class  CannotConnect
 
class  InvalidAuth
 
class  SMTConfigFlow
 

Functions

def validate_input (HomeAssistant hass, data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Smart Meter Texas integration.

Function Documentation

◆ validate_input()

def homeassistant.components.smart_meter_texas.config_flow.validate_input ( HomeAssistant  hass,
  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 29 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file config_flow.py.

◆ DATA_SCHEMA

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

Definition at line 24 of file config_flow.py.