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

Commit

Permalink
v2.1.1 - fix ATTR_MODE missing
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Oct 5, 2019
1 parent cb16cca commit acdc438
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/here_travel_time/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
ATTR_ATTRIBUTION,
ATTR_LATITUDE,
ATTR_LONGITUDE,
ATTR_MODE,
CONF_MODE,
CONF_NAME,
CONF_UNIT_SYSTEM,
Expand Down Expand Up @@ -78,6 +77,7 @@
ATTR_ROUTE = "route"
ATTR_ORIGIN = "origin"
ATTR_DESTINATION = "destination"
ATTR_MODE = "mode"

ATTR_UNIT_SYSTEM = CONF_UNIT_SYSTEM
ATTR_TRAFFIC_MODE = CONF_TRAFFIC_MODE
Expand Down
3 changes: 3 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@

## Bugfixes

{% if version_installed.replace("v", "").replace(".","") | int < 211 %}
- Fix error ATTR_MODE not found
{% endif %}
{% if version_installed.replace("v", "").replace(".","") | int < 143 %}
- Fix for `mode: publicTransportTimeTable` returning `No timetable route found`
{% endif %}
Expand Down

0 comments on commit acdc438

Please sign in to comment.