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

Classes

class  OpenExchangeRatesConfigFlow
 

Functions

vol.Schema get_data_schema (dict[str, str] currencies, Mapping[str, str] existing_data)
 
dict[str, str] validate_input (HomeAssistant hass, dict[str, str] data)
 

Detailed Description

Config flow for Open Exchange Rates integration.

Function Documentation

◆ get_data_schema()

vol.Schema homeassistant.components.openexchangerates.config_flow.get_data_schema ( dict[str, str]  currencies,
Mapping[str, str]   existing_data 
)
Return a form schema.

Definition at line 25 of file config_flow.py.

◆ validate_input()

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

Definition at line 39 of file config_flow.py.