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", "name": "HERE travel time",
"documentation": "https://www.home-assistant.io/integrations/here_travel_time", "documentation": "https://www.home-assistant.io/integrations/here_travel_time",
"requirements": [ "requirements": [
"herepy==0.6.3.1" "herepy==0.6.3.3"
], ],
"dependencies": [], "dependencies": [],
"codeowners": [ "codeowners": [

View file

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

View file

@ -217,7 +217,7 @@ hbmqtt==0.9.5
hdate==0.9.3 hdate==0.9.3
# homeassistant.components.here_travel_time # homeassistant.components.here_travel_time
herepy==0.6.3.1 herepy==0.6.3.3
# homeassistant.components.pi_hole # homeassistant.components.pi_hole
hole==0.5.0 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.""" """Construct a url for HERE."""
base_url = "https://route.cit.api.here.com/routing/7.2/calculateroute.json?" base_url = "https://route.cit.api.here.com/routing/7.2/calculateroute.json?"
parameters = { parameters = {
"waypoint0": origin, "waypoint0": f"geo!{origin}",
"waypoint1": destination, "waypoint1": f"geo!{destination}",
"mode": ";".join(str(herepy.RouteMode[mode]) for mode in modes), "mode": ";".join(str(herepy.RouteMode[mode]) for mode in modes),
"app_id": app_id, "app_id": app_id,
"app_code": app_code, "app_code": app_code,