core: Insteon component error with 2242 Insteon Hub

Home Assistant release with the issue:

0.77.3 Supervisor: 130

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io on Raspberry Pi 3

Component/platform:

https://www.home-assistant.io/components/insteon Insteon Component

Description of problem: Have had the issue since switching from deprecated insteon_plm component to this one. Using an Insteon 2242 Hub. I downloaded the python code from the github repository: https://github.com/phareous/insteonlocal and was able to connect to the hub, and control my light and switch from the sample script there.

In the log in hass.io, I get the error ‘Error while setting up platform insteon’. Details of the error are:

Log Details (ERROR)
Sun Sep 16 2018 23:33:48 GMT-0600 (Central Standard Time)

Error while setting up platform insteon
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
    res = func(*args, **kw)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/insteon.py", line 24, in async_setup_platform
    address = discovery_info['address']
TypeError: 'NoneType' object is not subscriptable

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

insteon:
  host: 172.16.1.137  
  ip_port: 25105
  username: insteon
  password: !secret insteon_pw

Traceback (if applicable):


Additional information: If 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!

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 28 (11 by maintainers)

Most upvoted comments

Looks like 0.81. It is currently available in 0.81.0b3.

Renamed two insteon cache folders, and also a couple config files.

Still getting the _2 showing up after a reboot. Can’t find where else to search. I will probably hit up the discord channel and see if anyone has any ideas.