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

Classes

class  InvalidAuth
 
class  SRPEnergyConfigFlow
 

Functions

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

Detailed Description

Config flow for SRP Energy.

Function Documentation

◆ validate_input()

dict[str, Any] homeassistant.components.srp_energy.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 18 of file config_flow.py.