I am seeing the following error message in home-assistant.log:
2025-03-06 09:54:21.349 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 137, in _async_start
await gather_with_limited_concurrency(FLOW_INIT_LIMIT, *init_coros)
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 114, in gather_with_limited_concurrency
return await gather(
^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 112, in sem_task
return await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1457, in async_init
flow, result = await self._async_init(flow_id, handler, context, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1492, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 490, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/heos/config_flow.py", line 145, in async_step_ssdp
if entry and hostname in _get_current_hosts(entry):
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/heos/config_flow.py", line 107, in _get_current_hosts
hosts = set(entry.data[CONF_HOST])
~~~~~~~~~~^^^^^^^^^^^
KeyError: 'host'
I noticed that the last two lines of the traceback mention heos. I figured out that heos is related to Denon products. I have a Denon AVR on my network. I might have tried to integrate the AVR a long time ago, but it does not show up in Integrations. If I try to integrate it now, I get a popup with the message “Configuration flow is already in progress”. How do I fix this problem?