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

Classes

class  ConfigFlow
 

Functions

str|None get_default_language (HomeAssistant hass)
 
None validate_input (HomeAssistant hass, dict[str, Any] user_input)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for Epic Games Store integration.

Function Documentation

◆ get_default_language()

str | None homeassistant.components.epic_games_store.config_flow.get_default_language ( HomeAssistant  hass)
Get default language code based on Home Assistant config.

Definition at line 35 of file config_flow.py.

◆ validate_input()

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

Definition at line 45 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 23 of file config_flow.py.

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.epic_games_store.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_LANGUAGE): LanguageSelector(
4  LanguageSelectorConfig(languages=SUPPORTED_LANGUAGES)
5  ),
6  vol.Required(CONF_COUNTRY): CountrySelector(),
7  }
8 )

Definition at line 25 of file config_flow.py.