Description
The problem
This is in error logs. HEOS integration isn't visible in UI to me, but if I try to add it, it says "Configuration flow is already in progress".
There is a thread of multiple users with same error: https://community.home-assistant.io/t/heos-configuration-flow-is-already-in-progress/859715
I am seeing the below error message in home-assistant.log.
What version of Home Assistant Core has the issue?
core-2025.3.1
What was the last working version of Home Assistant Core?
unknown, wasn't working on 3.0 either though
What type of installation are you running?
Home Assistant OS
Integration causing the issue
HEOS
Link to integration documentation on our website
https://www.home-assistant.io/integrations/heos/
Diagnostics information
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'
Example YAML snippet
Anything in the logs that might be useful for us?
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'
Additional information
I cannot install HEOS integration to see if that repairs it, as it thinks it already is in progress.