home-assistant.github.io/source/_components/sensor.waze_travel_time.markdown
Mario Di Raimondo e06c9adce7 Waze Travel Time: optional inclusive/exclusive filters (#5208)
* Waze Travel Time: optional inclusive/exclusive filters

documentation update about the new optional filtering params

* Update
2018-05-09 00:35:12 +02:00

59 lines
1.7 KiB
Markdown

---
layout: page
title: "Waze Travel Time"
description: "Instructions on how to add Waze travel time to Home Assistant."
date: 2018-01-23 00:00
sidebar: true
comments: false
sharing: true
footer: true
logo: waze.png
ha_category: Transport
ha_iot_class: "Cloud Polling"
ha_release: 0.67
---
The `waze_travel_time` sensor provides travel time from the [Waze](https://www.waze.com/).
Unit system is set to metric system.
## {% linkable_title Configuration %}
To use this sensor in your installation, add the following `abode` section to your `configuration.yaml` file:
```yaml
# Example entry for configuration.yaml
sensor:
- platform: waze_travel_time
origin: Montréal, QC
destination: Québec, QC
region: 'US'
```
{% configuration %}
origin:
description: Enter the starting address or the GPS coordinates of the location (GPS coordinates has to be separated by a comma).
required: true
type: string
destination:
description: Enter the destination address or the GPS coordinates of the location (GPS coordinates has to be separated by a comma).
required: true
type: string
region:
description: Choose one of the available regions from 'EU', 'US', 'NA' (equivalent to 'US') or 'IL'.
required: true
type: string
name:
description: A name to display on the sensor.
required: false
default: "Waze Travel Time"
type: string
incl_filter:
description: A substring that has to be present in the description of the selected route (a simple case-insensitive matching).
required: false
type: string
excl_filter:
description: A substring that has to be NOT present in the description of the selected route (a simple case-insensitive matching).
required: false
type: string
{% endconfiguration %}