Update waze_travel_time.markdown (#21893)

This commit is contained in:
Stefan de Lange 2022-03-09 10:31:45 +01:00 committed by GitHub
parent 68a0978c2b
commit 26532563f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ The `waze_travel_time` sensor provides travel time from the [Waze](https://www.w
Notes:
- If a unit system is not specified, the integration will use the unit system configured on your Home Assistant instance.
- Origin and Destination can be the address or the GPS coordinates of the location (GPS coordinates has to be separated by a comma). You can also enter an entity id which provides this information in its state, an entity id with latitude and longitude attributes, or zone friendly name (case sensitive).
- Origin and Destination can be the address or the GPS coordinates of the location (GPS coordinates have to be separated by a comma). You can also enter an entity id which provides this information in its state, an entity id with latitude and longitude attributes, or zone friendly name (case sensitive).
- The string inputs for `Substring *` allow you to force the integration to use a particular route or avoid a particular route in its time travel calculation. These inputs are case insensitive matched against the description of the route.
- When using the `Avoid Toll Roads?`, `Avoid Subscription Roads?` and `Avoid Ferries?` options be aware that Waze will sometimes still route you over toll roads or ferries if a valid vignette/subscription is assumed. Default behavior is that Waze will route you over roads having subscription options, so best is to set both `Avoid Toll Roads?` and `Avoid Subscription Roads?` or `Avoid Ferries?` if needed and experiment to ensure the desired outcome.
@ -69,36 +69,37 @@ template:
In this example we use a device_tracker entity ID as the origin and the sensor created above as the destination.
Name: "Me to destination"
Origin: device_tracker.myphone
Destination: sensor.dest_address
Region: "US"
- Name: "Me to some destination"
- Origin: `device_tracker.myphone`
- Destination: `sensor.dest_address`
- Region: "US"
#### Tracking entity to zone friendly name
In this example we are using the entity ID of a zone as the origin and the friendly name of a zone as the destination.
Name: "Home To Eddie's House"
Origin: zone.home
Destination: "Eddies House"
Region: "US"
- Name: "Home to Eddie's house"
- Origin: `zone.home`
- Destination: "Eddies House"
- Region: "US"
#### Tracking entity in Imperial Units
Origin: person.paulus
Destination: "725 5th Ave, New York, NY 10022, USA"
Region: "US"
Units: imperial
Vehicle Type: motorcycle
- Name: "Somewhere in New York"
- Origin: `person.paulus`
- Destination: "725 5th Ave, New York, NY 10022, USA"
- Region: "US"
- Units: "imperial"
- Vehicle Type: "motorcycle"
#### Avoiding toll, subscription
Name: "Westerscheldetunnel"
Origin: 51.330436, 3.802043
Destination: 51.445677, 3.749929
Region: "EU"
Avoid Toll Roads?: True
Avoid Subscription Roads?: True
- Name: "Westerscheldetunnel"
- Origin: "51.330436, 3.802043"
- Destination: "51.445677, 3.749929"
- Region: "EU"
- Avoid Toll Roads: `True`
- Avoid Subscription Roads: `True`
## Using the live map in an iFrame