Add arrival and departure to here_travel_time (#11449)

* Add arrival and departure to here_travel_time

* add departure to full config example

* ha_release: 0.108

* Revert "ha_release: 0.108"

This reverts commit 861619afceea22ad68e1844faaa87512fb904d39.
This commit is contained in:
Kevin Eifinger 2020-03-19 20:27:08 +01:00 committed by GitHub
parent 80cd46a42b
commit 6de3db5337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,15 @@ traffic_mode:
required: false
type: boolean
default: false
arrival:
description: "Time when travel is expected to end. A 24 hour time string like `08:00:00`. On a sensor update it will be combined with the current date to get travel time for that moment. Cannot be used in combination with `departure`. Can only be used in combination with `mode: publicTransportTimeTable`"
required: false
type: time
departure:
description: "Time when travel is expected to end. A 24 hour time string like `08:00:00`. On a sensor update it will be combined with the current date to get travel time for that moment. Cannot be used in combination with `arrival`. The default is now (the current date and time)"
required: false
type: time
default: "now"
unit_system:
description: "You can choose between `metric` or `imperial`."
required: false
@ -125,9 +134,8 @@ sensor:
route_mode: fastest
traffic_mode: false
unit_system: imperial
departure: "17:00:00"
scan_interval: 2678400 # 1 month
```
## Entity Tracking