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

Classes

class  CannotConnect
 
class  HarmonyConfigFlow
 
class  OptionsFlowHandler
 

Functions

dict[str, Any] _options_from_user_input (dict[str, Any] user_input)
 
dict[str, Any] validate_input (dict[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Logitech Harmony Hub integration.

Function Documentation

◆ _options_from_user_input()

dict[str, Any] homeassistant.components.harmony.config_flow._options_from_user_input ( dict[str, Any]  user_input)
private

Definition at line 176 of file config_flow.py.

◆ validate_input()

dict[str, Any] homeassistant.components.harmony.config_flow.validate_input ( 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 44 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 37 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.harmony.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(CONF_HOST): str, vol.Required(CONF_NAME): str}, extra=vol.ALLOW_EXTRA
3 )

Definition at line 39 of file config_flow.py.