Log File showing Insteon errors

This might be a bug, but before I post to github I want to make sure I havent setup anything wrong from my side. I have setup Insteon Local with a single fanlink that works for the most part with delays here and there. I am running latest version of HA 54.0

2017-10-07 04:14:37 ERROR (MainThread) [homeassistant.helpers.entity] Update for fan.masterbed fails
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py”, line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/util/init.py”, line 306, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/util/init.py”, line 306, in wrapper
result = method(*args, **kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/fan/insteon_local.py”, line 161, in update
resp = self.node.status()
File “/srv/homeassistant/lib/python3.4/site-packages/insteonlocal/Fan.py”, line 26, in status
status = self.hub.get_device_status(self.device_id, level=‘03’)
File “/srv/homeassistant/lib/python3.4/site-packages/insteonlocal/Hub.py”, line 347, in get_device_status
status = self.get_buffer_status(device_id)
File “/srv/homeassistant/lib/python3.4/site-packages/insteonlocal/Hub.py”, line 1056, in get_buffer_status
self.set_command_response_from_cache(response_record, device_from, response_record[‘cmd1’], response_record[‘cmd2’])
File “/srv/homeassistant/lib/python3.4/site-packages/insteonlocal/Hub.py”, line 489, in set_command_response_from_cache
command_cache = self.get_cache_from_file(device_id)
File “/srv/homeassistant/lib/python3.4/site-packages/insteonlocal/Hub.py”, line 411, in get_cache_from_file
with open(filename) as cachefile:
FileNotFoundError: [Errno 2] No such file or directory: ‘3FD993.state’

Can you post the relevant portion of your config?


  host: !secret insteon_host
  username: !secret insteon_username
  password: !secret insteon_password
  port: !secret insteon_port
  timeout: 10

in files insteon_local_fans.conf and insteon_local_lights.conf I just have the device ID with name for ceiling fan.

{"3FD993": "MasterBed"}

in states they show up as

- light.masterbed
- fan.masterbed

I am running Rassbian version of Hass on Debian Jessie

Any update on this? I’m running into the same errors in my logs.

These are still happening in the latest docker release (0.63.0). Has anyone opened a bug report on it? It’s actually gotten worse - HA will randomly lose fan devices for me on restarts now, even though the Hub app can see and control them fine.