{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16657","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16657/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16657/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16657/events","html_url":"https://github.com/home-assistant/home-assistant/issues/16657","id":360731321,"node_id":"MDU6SXNzdWUzNjA3MzEzMjE=","number":16657,"title":"Insteon component error with 2242 Insteon Hub","user":{"login":"Count0Int","id":36575303,"node_id":"MDQ6VXNlcjM2NTc1MzAz","avatar_url":"https://avatars3.githubusercontent.com/u/36575303?v=4","gravatar_id":"","url":"https://api.github.com/users/Count0Int","html_url":"https://github.com/Count0Int","followers_url":"https://api.github.com/users/Count0Int/followers","following_url":"https://api.github.com/users/Count0Int/following{/other_user}","gists_url":"https://api.github.com/users/Count0Int/gists{/gist_id}","starred_url":"https://api.github.com/users/Count0Int/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Count0Int/subscriptions","organizations_url":"https://api.github.com/users/Count0Int/orgs","repos_url":"https://api.github.com/users/Count0Int/repos","events_url":"https://api.github.com/users/Count0Int/events{/privacy}","received_events_url":"https://api.github.com/users/Count0Int/received_events","type":"User","site_admin":false},"labels":[{"id":955422305,"node_id":"MDU6TGFiZWw5NTU0MjIzMDU=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2018-09-17T05:59:36Z","updated_at":"2018-10-13T08:33:34Z","closed_at":"2018-10-13T08:33:34Z","author_association":"NONE","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n0.77.3\r\nSupervisor: 130\r\n\r\n**Last working Home Assistant release (if known):**\r\n\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n<!--\r\n\r\n-->\r\nHass.io on Raspberry Pi 3\r\n\r\n**Component/platform:**\r\n<!--\r\n\r\n-->\r\nhttps://www.home-assistant.io/components/insteon\r\nInsteon Component\r\n\r\n**Description of problem:**\r\nHave had the issue since switching from deprecated insteon_plm component to this one.  Using an Insteon 2242 Hub.\r\nI downloaded the python code from the github repository:  https://github.com/phareous/insteonlocal\r\nand was able to connect to the hub, and control my light and switch from the sample script there.\r\n\r\nIn the log in hass.io, I get the error 'Error while setting up platform insteon'.\r\nDetails of the error are: \r\n```\r\nLog Details (ERROR)\r\nSun Sep 16 2018 23:33:48 GMT-0600 (Central Standard Time)\r\n\r\nError while setting up platform insteon\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py\", line 128, in _async_setup_platform\r\n    SLOW_SETUP_MAX_WAIT, loop=hass.loop)\r\n  File \"/usr/local/lib/python3.6/asyncio/tasks.py\", line 358, in wait_for\r\n    return fut.result()\r\n  File \"/usr/local/lib/python3.6/asyncio/coroutines.py\", line 212, in coro\r\n    res = func(*args, **kw)\r\n  File \"/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/insteon.py\", line 24, in async_setup_platform\r\n    address = discovery_info['address']\r\nTypeError: 'NoneType' object is not subscriptable\r\n```\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\ninsteon:\r\n  host: 172.16.1.137  \r\n  ip_port: 25105\r\n  username: insteon\r\n  password: !secret insteon_pw\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\nIf I can help with any testing/debugging, please let me know.  I am still learning python, but would be willing to help if this an issue with the 2242.  Thanks!"}}
{"actor":{"display_login":"fabaff"}}