bump herepy to 0.6.3.3 (#28907)

* bump herepy to 0.6.3.3

* run gen_requirements_all
This commit is contained in:
Kevin Eifinger 2019-11-20 22:37:59 +01:00 committed by Franck Nijhof
parent ae3cf72fb2
commit 9f181ac92e
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
"name": "HERE travel time",
"documentation": "https://www.home-assistant.io/integrations/here_travel_time",
"requirements": [
"herepy==0.6.3.1"
"herepy==0.6.3.3"
],
"dependencies": [],
"codeowners": [

View File

@ -641,7 +641,7 @@ hdate==0.9.3
heatmiserV3==0.9.1
# homeassistant.components.here_travel_time
herepy==0.6.3.1
herepy==0.6.3.3
# homeassistant.components.hikvisioncam
hikvision==0.4

View File

@ -217,7 +217,7 @@ hbmqtt==0.9.5
hdate==0.9.3
# homeassistant.components.here_travel_time
herepy==0.6.3.1
herepy==0.6.3.3
# homeassistant.components.pi_hole
hole==0.5.0

View File

@ -71,8 +71,8 @@ def _build_mock_url(origin, destination, modes, app_id, app_code, departure):
"""Construct a url for HERE."""
base_url = "https://route.cit.api.here.com/routing/7.2/calculateroute.json?"
parameters = {
"waypoint0": origin,
"waypoint1": destination,
"waypoint0": f"geo!{origin}",
"waypoint1": f"geo!{destination}",
"mode": ";".join(str(herepy.RouteMode[mode]) for mode in modes),
"app_id": app_id,
"app_code": app_code,