Google Maps Travel Time Enhanced

Sharing here a little enhancement over the Google Maps Travel Time - Home Assistant integration, to incorporate features already present in the similar Waze official integration, in particular the ability to define waypoints, feature that I needed to compare the total time (including traffic) between 2 route options during commuting hours.

  • Intermediate waypoints: Force routes through specific locations (addresses, coordinates, or entity IDs) to monitor travel times for specific known routes
  • Alternative routes: Request multiple route alternatives via service calls
  • Config flow: Full UI-based setup with options flow for runtime configuration
  • All travel modes: Driving, walking, bicycling, and transit
  • Traffic-aware: Real-time traffic data with configurable traffic models (best_guess, pessimistic, optimistic)
  • Entity tracking: Use device_tracker, sensor, zone, or person entities as origin/destination
  • Services: get_travel_times and get_transit_times for on-demand route queries