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
This commit is contained in:
KingJ 2019-01-04 18:56:42 +00:00 committed by Fabian Affolter
parent aaa59939e7
commit 1d6697cf24

View File

@ -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`."