Namespaces | |
| config_flow | |
| const | |
| helpers | |
| sensor | |
Functions | |
| list[CalcRoutesResponse]|None | async_get_travel_times (WazeRouteCalculator client, str origin, str destination, str vehicle_type, bool avoid_toll_roads, bool avoid_subscription_roads, bool avoid_ferries, bool realtime, Collection[str]|None incl_filters=None, Collection[str]|None excl_filters=None) |
| bool | async_migrate_entry (HomeAssistant hass, ConfigEntry config_entry) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry config_entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | PLATFORMS = [Platform.SENSOR] |
| string | SERVICE_GET_TRAVEL_TIMES = "get_travel_times" |
| SERVICE_GET_TRAVEL_TIMES_SCHEMA | |
The waze_travel_time component.
| list[CalcRoutesResponse] | None homeassistant.components.waze_travel_time.async_get_travel_times | ( | WazeRouteCalculator | client, |
| str | origin, | ||
| str | destination, | ||
| str | vehicle_type, | ||
| bool | avoid_toll_roads, | ||
| bool | avoid_subscription_roads, | ||
| bool | avoid_ferries, | ||
| bool | realtime, | ||
| Collection[str] | None | incl_filters = None, |
||
| Collection[str] | None | excl_filters = None |
||
| ) |
Get all available routes.
Definition at line 123 of file __init__.py.
| bool homeassistant.components.waze_travel_time.async_migrate_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Migrate an old config entry.
Definition at line 213 of file __init__.py.
| bool homeassistant.components.waze_travel_time.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Load the saved entities.
Definition at line 89 of file __init__.py.
| bool homeassistant.components.waze_travel_time.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Unload a config entry.
Definition at line 208 of file __init__.py.
|
private |
Definition at line 86 of file __init__.py.
| list homeassistant.components.waze_travel_time.PLATFORMS = [Platform.SENSOR] |
Definition at line 48 of file __init__.py.
| string homeassistant.components.waze_travel_time.SERVICE_GET_TRAVEL_TIMES = "get_travel_times" |
Definition at line 50 of file __init__.py.
| homeassistant.components.waze_travel_time.SERVICE_GET_TRAVEL_TIMES_SCHEMA |
Definition at line 51 of file __init__.py.