{"action":"opened","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13191","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13191/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13191/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13191/events","html_url":"https://github.com/home-assistant/home-assistant/issues/13191","id":304945241,"number":13191,"title":"Error setting up platform tado (device-tracker/presence-detection)","user":{"login":"p0thi","id":19438422,"avatar_url":"https://avatars0.githubusercontent.com/u/19438422?v=4","gravatar_id":"","url":"https://api.github.com/users/p0thi","html_url":"https://github.com/p0thi","followers_url":"https://api.github.com/users/p0thi/followers","following_url":"https://api.github.com/users/p0thi/following{/other_user}","gists_url":"https://api.github.com/users/p0thi/gists{/gist_id}","starred_url":"https://api.github.com/users/p0thi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0thi/subscriptions","organizations_url":"https://api.github.com/users/p0thi/orgs","repos_url":"https://api.github.com/users/p0thi/repos","events_url":"https://api.github.com/users/p0thi/events{/privacy}","received_events_url":"https://api.github.com/users/p0thi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T21:39:01Z","updated_at":"2018-03-13T21:39:01Z","closed_at":null,"author_association":"NONE","body":"**Home Assistant release (`hass --version`):**\r\nhassio container 0.65.3 (still in 0.65.4)\r\n\r\n**Python release (`python3 --version`):**\r\n3.6\r\n\r\n**Component/platform:**\r\ntado present detection\r\n\r\n**Description of problem:**\r\nMy Home Assistant failed setting up the tado presence-detection every time since 0.65.\r\nI did not change anything in my configuration.\r\nAm I missing something?\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\ndevice_tracker:\r\n  - platform: tado\r\n    username: <my_user_name>\r\n    password: <my_password>\r\n    home_id: <my_home_id>\r\n```\r\n\r\n1. Update Home Assistant to 0.65 or higher\r\n2. Setup the tado presence-detection as described in the docs\r\n3. Restart the Home Assistant\r\n\r\n**Traceback (if applicable):**\r\n```bash\r\nError setting up platform tado\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py\", line 181, in async_setup_platform\r\n    platform.get_scanner, hass, {DOMAIN: p_config})\r\n  File \"/usr/lib/python3.6/asyncio/futures.py\", line 332, in __iter__\r\n    yield self  # This tells Task to wait for completion.\r\n  File \"/usr/lib/python3.6/asyncio/tasks.py\", line 250, in _wakeup\r\n    future.result()\r\n  File \"/usr/lib/python3.6/asyncio/futures.py\", line 245, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.6/concurrent/futures/thread.py\", line 56, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/tado.py\", line 38, in get_scanner\r\n    scanner = TadoDeviceScanner(hass, config[DOMAIN])\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/tado.py\", line 72, in __init__\r\n    self._async_update_info(), hass.loop\r\n  File \"/usr/lib/python3.6/concurrent/futures/_base.py\", line 432, in result\r\n    return self.__get_result()\r\n  File \"/usr/lib/python3.6/concurrent/futures/_base.py\", line 384, in __get_result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.6/asyncio/tasks.py\", line 180, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/tado.py\", line 103, in _async_update_info\r\n    with async_timeout.timeout(10, loop=self.hass.loop):\r\nAttributeError: 'NoneType' object has no attribute 'loop'\r\n```"}}
{"actor":{"display_login":"p0thi"}}