Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_travel_time.helpers Namespace Reference

Classes

class  InvalidApiKeyException
 
class  UnknownException
 

Functions

None validate_config_entry (HomeAssistant hass, str api_key, str origin, str destination)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Helpers for Google Time Travel integration.

Function Documentation

◆ validate_config_entry()

None homeassistant.components.google_travel_time.helpers.validate_config_entry ( HomeAssistant  hass,
str  api_key,
str  origin,
str   destination 
)
Return whether the config entry data is valid.

Definition at line 15 of file helpers.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.google_travel_time.helpers._LOGGER = logging.getLogger(__name__)
private

Definition at line 12 of file helpers.py.