mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
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:
parent
aaa59939e7
commit
1d6697cf24
@ -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`."
|
||||
|
Loading…
x
Reference in New Issue
Block a user