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

Classes

class  HERETravelTimeConfigFlow
 
class  HERETravelTimeOptionsFlow
 

Functions

None async_validate_api_key (str api_key)
 
vol.Schema get_user_step_schema (Mapping[str, Any] data)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary DEFAULT_OPTIONS
 

Detailed Description

Config flow for HERE Travel Time integration.

Function Documentation

◆ async_validate_api_key()

None homeassistant.components.here_travel_time.config_flow.async_validate_api_key ( str  api_key)
Validate the user input allows us to connect.

Definition at line 71 of file config_flow.py.

◆ get_user_step_schema()

vol.Schema homeassistant.components.here_travel_time.config_flow.get_user_step_schema ( Mapping[str, Any]  data)
Get a populated schema or default.

Definition at line 83 of file config_flow.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 62 of file config_flow.py.

◆ DEFAULT_OPTIONS

dictionary homeassistant.components.here_travel_time.config_flow.DEFAULT_OPTIONS
Initial value:
1 = {
2  CONF_ROUTE_MODE: ROUTE_MODE_FASTEST,
3  CONF_ARRIVAL_TIME: None,
4  CONF_DEPARTURE_TIME: None,
5 }

Definition at line 64 of file config_flow.py.