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

Classes

class  CannotConnect
 
class  VolumioConfigFlow
 

Functions

dict[str, Any] validate_input (HomeAssistant hass, str host, int port)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DATA_SCHEMA
 

Detailed Description

Config flow for Volumio integration.

Function Documentation

◆ validate_input()

dict[str, Any] homeassistant.components.volumio.config_flow.validate_input ( HomeAssistant  hass,
str  host,
int  port 
)
Validate the user input allows us to connect.

Definition at line 28 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 20 of file config_flow.py.

◆ DATA_SCHEMA

homeassistant.components.volumio.config_flow.DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {vol.Required(CONF_HOST): str, vol.Required(CONF_PORT, default=3000): int}
3 )

Definition at line 23 of file config_flow.py.