From 1d6697cf24cc121295dfbe4fa62492a06802e547 Mon Sep 17 00:00:00 2001 From: KingJ Date: Fri, 4 Jan 2019 18:56:42 +0000 Subject: [PATCH] Update sensor.google_travel_time.markdown (#8048) Change optional configuration key `transit_model` to `transit_mode` to match the Distance Matrix API documentation [0]. `transit_model` is an invalid key and will cause the sensor to fail. [0]: https://developers.google.com/maps/documentation/distance-matrix/intro#RequestParameters --- source/_components/sensor.google_travel_time.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/sensor.google_travel_time.markdown b/source/_components/sensor.google_travel_time.markdown index b9d1c5b5596..0ccd46ee2fa 100644 --- a/source/_components/sensor.google_travel_time.markdown +++ b/source/_components/sensor.google_travel_time.markdown @@ -83,7 +83,7 @@ options: description: "Indicate what google should avoid when calculating the travel time, you can choose from: `tolls`, `highways`, `ferries`, `indoor`." required: false type: string - transit_model: + transit_mode: description: "If you opted for `transit` at `travel_mode`, you can use this variable to specify which public transport you want to use: `bus`, `subway`, `train`, `tram` or `rail`." transit_routing_preference: description: "for the travel time calculation for public transport you can also specify the preference for: `less_walking` or `fewer_transfers`."