Upgrade Problem Synology Docker

I have been running HA version 2021.8.6 on Synology DSM 7 (lastest version) via Docker without any issues. I tried to upgrade to 2022.2.2 so that I could take advantage of the updates concerning TP-Link devices - I have one light set (KL400) that was not discovered in the older version. The new Docker image loads fine but I am not able to get to the dashboard via the Web UI. I checked the logs and it seems to be stopping with this error:

2022-02-05 15:19:21 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry TP-Link Smart Home for tplink
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/tplink/__init__.py", line 83, in async_setup_entry
    device: SmartDevice = await Discover.discover_single(entry.data[CONF_HOST])
KeyError: 'host'

Any suggestions would be appreciated.


I struck a similar issue. Completed the following sorted it for me.

  1. Removed the integration
  2. Added it back
  3. Removed all entries in configuration.yaml
  4. Manually specified each host/device via adding them again as a new integration

Many thanks for the info.