mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
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:
parent
80cd46a42b
commit
6de3db5337
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user