Annoying problem caused by not using Octoprint(!)

Hi,

I have this annoying problem with HAss. Every time I restart it I’m presented with

The thing is, I don’t use Octoprint. I don’t have it configured anywhere:

steve@nuc:/docker/hass-config$ grep -i octo */*.yaml
steve@nuc:/docker/hass-config$ grep -i octo *.yaml | wc -l
0

This is the only error that appears in the logs at start up:

2018-11-25 23:17:06 ERROR (MainThread) [homeassistant.setup] Error during setup of component octoprint
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/octoprint.py", line 95, in setup
    for printer in config[DOMAIN]:
KeyError: 'octoprint'

Does anyone know why I would get this? It’s not preventing anything from working, it’s just annoying me.

Thanks

Steve

Add it to your ignore list in the discovery component.

Also check the files in .storage (a hidden directory below your configuration base directory.

There’s a bug report on GitHub for this problem, and looks like it is known how to fix it so I guess just waiting for somebody to have the time…