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

Classes

class  NinaConfigFlow
 
class  OptionsFlowHandler
 

Functions

dict[str, Any] prepare_user_input (dict[str, Any] user_input, dict[str, str] _all_region_codes_sorted)
 
dict[str, dict[str, Any]] split_regions (dict[str, str] _all_region_codes_sorted, dict[str, dict[str, Any]] regions)
 
dict[str, str] swap_key_value (dict[str, str] dict_to_sort)
 

Detailed Description

Config flow for Nina integration.

Function Documentation

◆ prepare_user_input()

dict[str, Any] homeassistant.components.nina.config_flow.prepare_user_input ( dict[str, Any]  user_input,
dict[str, str]   _all_region_codes_sorted 
)
Prepare the user inputs.

Definition at line 64 of file config_flow.py.

◆ split_regions()

dict[str, dict[str, Any]] homeassistant.components.nina.config_flow.split_regions ( dict[str, str]  _all_region_codes_sorted,
dict[str, dict[str, Any]]   regions 
)
Split regions alphabetical.

Definition at line 52 of file config_flow.py.

◆ swap_key_value()

dict[str, str] homeassistant.components.nina.config_flow.swap_key_value ( dict[str, str]  dict_to_sort)
Swap keys and values in dict.

Definition at line 35 of file config_flow.py.