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

Classes

class  FiveMConfigFlow
 
class  InvalidGameNameError
 

Functions

None validate_input (dict[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int DEFAULT_PORT = 30120
 
 STEP_USER_DATA_SCHEMA
 

Detailed Description

Config flow for FiveM integration.

Function Documentation

◆ validate_input()

None homeassistant.components.fivem.config_flow.validate_input ( dict[str, Any]  data)
Validate the user input allows us to connect.

Definition at line 29 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 17 of file config_flow.py.

◆ DEFAULT_PORT

int homeassistant.components.fivem.config_flow.DEFAULT_PORT = 30120

Definition at line 19 of file config_flow.py.

◆ STEP_USER_DATA_SCHEMA

homeassistant.components.fivem.config_flow.STEP_USER_DATA_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
5  }
6 )

Definition at line 21 of file config_flow.py.