From 6de3db533763b99be10829aafe0f83630a995fa9 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Thu, 19 Mar 2020 20:27:08 +0100 Subject: [PATCH] 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. --- source/_integrations/here_travel_time.markdown | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/source/_integrations/here_travel_time.markdown b/source/_integrations/here_travel_time.markdown index a9c3576a26f..fc28c2f3785 100644 --- a/source/_integrations/here_travel_time.markdown +++ b/source/_integrations/here_travel_time.markdown @@ -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