Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
v2.1.0 more supported entity_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 5, 2019
1 parent 50afec5 commit 887c9ee
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 172 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ Key | Type | Required | Description

## Dynamic Configuration

Tracking can be set up to track entities of type `device_tracker`, `zone`, `sensor` and `person`. If an entity is placed in the origin or destination then every 5 minutes when the platform updates it will use the latest location of that entity.
If an entity is placed in the `origin_entity_id` or `destination_entity_id` then every 5 minutes when the platform updates it will use the latest location of that entity.


```yaml
# Example entry for configuration.yaml
Expand All @@ -116,10 +117,8 @@ sensor:
- If the state is not a zone, it will look for the longitude and latitude attributes
- **zone**
- Uses the longitude and latitude attributes
- **sensor**
- If the state is a zone, then will use the zone location
- All other states will be passed directly into the HERE API
- This includes all valid locations listed in the *Configuration Variables*
- **other**
- Will try to recursively resolve the state if it is an entity id until it finds coordinates

## Updating sensors on-demand using Automation

Expand Down
22 changes: 11 additions & 11 deletions custom_components/here_travel_time/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"domain": "here_travel_time",
"name": "HERE travel time",
"documentation": "https://www.home-assistant.io/components/here_travel_time",
"requirements": [
"herepy==0.6.2"
],
"dependencies": [],
"codeowners": [
"@eifinger"
]
}
"domain": "here_travel_time",
"name": "HERE travel time",
"documentation": "https://www.home-assistant.io/integrations/here_travel_time",
"requirements": [
"herepy==0.6.3.1"
],
"dependencies": [],
"codeowners": [
"@eifinger"
]
}
Loading

0 comments on commit 887c9ee

Please sign in to comment.