{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16142","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16142/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16142/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16142/events","html_url":"https://github.com/home-assistant/home-assistant/issues/16142","id":353245911,"node_id":"MDU6SXNzdWUzNTMyNDU5MTE=","number":16142,"title":"Google Maps Issue","user":{"login":"dennisbrouwer91","id":17491836,"node_id":"MDQ6VXNlcjE3NDkxODM2","avatar_url":"https://avatars2.githubusercontent.com/u/17491836?v=4","gravatar_id":"","url":"https://api.github.com/users/dennisbrouwer91","html_url":"https://github.com/dennisbrouwer91","followers_url":"https://api.github.com/users/dennisbrouwer91/followers","following_url":"https://api.github.com/users/dennisbrouwer91/following{/other_user}","gists_url":"https://api.github.com/users/dennisbrouwer91/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisbrouwer91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisbrouwer91/subscriptions","organizations_url":"https://api.github.com/users/dennisbrouwer91/orgs","repos_url":"https://api.github.com/users/dennisbrouwer91/repos","events_url":"https://api.github.com/users/dennisbrouwer91/events{/privacy}","received_events_url":"https://api.github.com/users/dennisbrouwer91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-08-23T06:46:44Z","updated_at":"2018-10-26T22:59:43Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release with the issue:** 0:76.2\r\n\r\n**Last working Home Assistant release (if known):** The previous one\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\nHass.io\r\n\r\n**Component/platform:**\r\nGoogle Maps Travel Time\r\n\r\n\r\n**Description of problem:**\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 253, in _request\r\n    result = self._get_body(response)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 276, in _get_body\r\n    raise googlemaps.exceptions._RetriableRequest()\r\ngooglemaps.exceptions._RetriableRequest\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/concurrent/futures/thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 112, in run_setup\r\n    hass, name, api_key, origin, destination, options)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 147, in __init__\r\n    self.update()\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py\", line 325, in wrapper\r\n    result = method(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 228, in update\r\n    self._origin, self._destination, **options_copy)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 356, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/distance_matrix.py\", line 130, in distance_matrix\r\n    return client._request(\"/maps/api/distancematrix/json\", params)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  [Previous line repeated 8 more times]\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 203, in _request\r\n    raise googlemaps.exceptions.Timeout()\r\ngooglemaps.exceptions.Timeout\r\n```\r\n\r\nHome-Assistant isn't fetching travel time anymore.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```\r\n- platform: google_travel_time\r\n  name: home_to_hlb\r\n  api_key: <Key>\r\n  origin: <Address>\r\n  destination: <Address>\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/concurrent/futures/thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 112, in run_setup\r\n    hass, name, api_key, origin, destination, options)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 147, in __init__\r\n    self.update()\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py\", line 325, in wrapper\r\n    result = method(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/sensor/google_travel_time.py\", line 228, in update\r\n    self._origin, self._destination, **options_copy)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 356, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/distance_matrix.py\", line 130, in distance_matrix\r\n    return client._request(\"/maps/api/distancematrix/json\", params)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 260, in _request\r\n    extract_body, requests_kwargs, post_json)\r\n  [Previous line repeated 8 more times]\r\n  File \"/usr/local/lib/python3.6/site-packages/googlemaps/client.py\", line 203, in _request\r\n    raise googlemaps.exceptions.Timeout()\r\ngooglemaps.exceptions.Timeout\r\n```\r\n\r\n**Additional information:**\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/433564858","html_url":"https://github.com/home-assistant/home-assistant/issues/16142#issuecomment-433564858","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16142","id":433564858,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzU2NDg1OA==","user":{"login":"eifinger","id":1481961,"node_id":"MDQ6VXNlcjE0ODE5NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/1481961?v=4","gravatar_id":"","url":"https://api.github.com/users/eifinger","html_url":"https://github.com/eifinger","followers_url":"https://api.github.com/users/eifinger/followers","following_url":"https://api.github.com/users/eifinger/following{/other_user}","gists_url":"https://api.github.com/users/eifinger/gists{/gist_id}","starred_url":"https://api.github.com/users/eifinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eifinger/subscriptions","organizations_url":"https://api.github.com/users/eifinger/orgs","repos_url":"https://api.github.com/users/eifinger/repos","events_url":"https://api.github.com/users/eifinger/events{/privacy}","received_events_url":"https://api.github.com/users/eifinger/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T22:59:43Z","updated_at":"2018-10-26T22:59:43Z","author_association":"NONE","body":"With release 0.81 it should now be possible to only update the sensor when really needed."}}
{"actor":{"display_login":"eifinger"}}