{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4318","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4318/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4318/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4318/events","html_url":"https://github.com/home-assistant/home-assistant/issues/4318","id":188088374,"number":4318,"title":"Error in pynetgear api","user":{"login":"Flight777","id":5236143,"avatar_url":"https://avatars3.githubusercontent.com/u/5236143?v=3","gravatar_id":"","url":"https://api.github.com/users/Flight777","html_url":"https://github.com/Flight777","followers_url":"https://api.github.com/users/Flight777/followers","following_url":"https://api.github.com/users/Flight777/following{/other_user}","gists_url":"https://api.github.com/users/Flight777/gists{/gist_id}","starred_url":"https://api.github.com/users/Flight777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flight777/subscriptions","organizations_url":"https://api.github.com/users/Flight777/orgs","repos_url":"https://api.github.com/users/Flight777/repos","events_url":"https://api.github.com/users/Flight777/events{/privacy}","received_events_url":"https://api.github.com/users/Flight777/received_events","type":"User","site_admin":false},"labels":[{"id":214631394,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/problem%20in%20dependency","name":"problem in dependency","color":"e10d10","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-11-08T19:58:00Z","updated_at":"2017-07-12T09:07:31Z","closed_at":null,"body":"Make sure you are running the latest version of Home Assistant before reporting an issue.\r\n\r\nYou should only file an issue if you found a bug. Feature and enhancement requests should go in [the Feature Requests section](https://community.home-assistant.io/c/feature-requests) of our community forum:\r\n\r\n**Home Assistant release (`hass --version`):**\r\n\r\n0.32.2\r\n\r\n**Python release (`python3 --version`):**\r\n\r\nlatest\r\n\r\n**Component/platform:**\r\n\r\nNetgear\r\n\r\n**Description of problem:**\r\n\r\nGetting the following error in HASS log:\r\n\r\n```\r\n16-11-08 19:51:42 pynetgear: Error talking to API\r\nTraceback (most recent call last):\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/models.py\", line 346, in prepare_url\r\n    scheme, auth, host, port, path, query, fragment = parse_url(url)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/packages/urllib3/util/url.py\", line 189, in parse_url\r\n    raise LocationParseError(url)\r\nrequests.packages.urllib3.exceptions.LocationParseError: Failed to parse: None:None\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/homeassistant/.homeassistant/deps/pynetgear/__init__.py\", line 113, in _make_request\r\n    self.soap_url, headers=headers, data=message, timeout=10)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/api.py\", line 110, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/api.py\", line 56, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py\", line 461, in request\r\n    prep = self.prepare_request(req)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/sessions.py\", line 394, in prepare_request\r\n    hooks=merge_hooks(request.hooks, self.hooks),\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/models.py\", line 294, in prepare\r\n    self.prepare_url(url, params)\r\n  File \"/srv/homeassistant/lib/python3.4/site-packages/requests/models.py\", line 348, in prepare_url\r\n    raise InvalidURL(*e.args)\r\nrequests.exceptions.InvalidURL: Failed to parse: None:None\r\n16-11-08 19:51:42 homeassistant.components.device_tracker.netgear: Failed to Login\r\n16-11-08 19:51:42 homeassistant.components.device_tracker: Error setting up platform netgear\r\n```\r\n\r\n**Expected:**\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\n\r\n\r\n# NETGEAR ROUTER\r\n\r\ndevice_tracker:\r\n  platform: netgear\r\n  host: 192.168.31.254\r\n  username: admin\r\n  password: xxxxx\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/314702586","html_url":"https://github.com/home-assistant/home-assistant/issues/4318#issuecomment-314702586","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/4318","id":314702586,"user":{"login":"ArneCL","id":27437442,"avatar_url":"https://avatars0.githubusercontent.com/u/27437442?v=3","gravatar_id":"","url":"https://api.github.com/users/ArneCL","html_url":"https://github.com/ArneCL","followers_url":"https://api.github.com/users/ArneCL/followers","following_url":"https://api.github.com/users/ArneCL/following{/other_user}","gists_url":"https://api.github.com/users/ArneCL/gists{/gist_id}","starred_url":"https://api.github.com/users/ArneCL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArneCL/subscriptions","organizations_url":"https://api.github.com/users/ArneCL/orgs","repos_url":"https://api.github.com/users/ArneCL/repos","events_url":"https://api.github.com/users/ArneCL/events{/privacy}","received_events_url":"https://api.github.com/users/ArneCL/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T09:07:31Z","updated_at":"2017-07-12T09:07:31Z","body":"I'm also with @ddykhoff  and @mjooms explanation - The netgear-module is initializied twice, one with default logins (which result in the posted error, if e.g. the router-password has been changed). For me, this is not a dependency issue, but an issue with the device tracker.\r\nI see two options:\r\n\r\n1. Add a configuration-option for auto-detected devices (so you don't have to add an additional entry to configure.yml)\r\n2. Do not use autodiscovery for a module in case there is an entry for that particular module in the configuration.yml\r\n\r\nThinking of multiple devices, both could cause trouble 😟 \r\nWhich one makes more sense to you (or do you see a third way..)? @balloob @DavidLP @Kernald \r\n\r\n"}}
{"actor":{"display_login":"ArneCL"}}