Invalid config since Update on 2023.5 (assist_pipeline, esphome, default_config)

Hi everyone,

I am running HA supervised in an debian VM on Proxmox. Since updating to 2023.5 I am getting the folloginw errors:

Logger: homeassistant.setup
Source: setup.py:206
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Setup failed for esphome: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)
Setup failed for default_config: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)

Logger: homeassistant.setup
Source: setup.py:204
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Unable to set up dependencies of esphome. Setup failed for dependencies: assist_pipeline
Unable to set up dependencies of default_config. Setup failed for dependencies: assist_pipeline

Logger: homeassistant.setup
Source: setup.py:385
First occurred: 7. Mai 2023 um 23:48:38 (6 occurrences)
Last logged: 11:38:53

Unable to set up dependencies of esphome. Setup failed for dependencies: assist_pipeline

Logger: homeassistant.setup
Source: setup.py:206
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Setup failed for esphome: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)
Setup failed for default_config: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)

Logger: homeassistant.setup
Source: setup.py:204
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Unable to set up dependencies of esphome. Setup failed for dependencies: assist_pipeline
Unable to set up dependencies of default_config. Setup failed for dependencies: assist_pipeline

Logger: homeassistant.util.json
Source: util/json.py:68
First occurred: 7. Mai 2023 um 23:48:08 (1 occurrences)
Last logged: 7. Mai 2023 um 23:48:08

Could not parse JSON content: /config/.storage/assist_pipeline.pipelines
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/util/json.py”, line 68, in load_json
return orjson.loads(fdesc.read()) # type: ignore[no-any-return]
orjson.JSONDecodeError: input length is 0: line 1 column 1 (char 0)

Logger: homeassistant.setup
Source: util/json.py:74
First occurred: 7. Mai 2023 um 23:48:08 (1 occurrences)
Last logged: 7. Mai 2023 um 23:48:08

Error during setup of component assist_pipeline
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/util/json.py”, line 68, in load_json
return orjson.loads(fdesc.read()) # type: ignore[no-any-return]
orjson.JSONDecodeError: input length is 0: line 1 column 1 (char 0)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 257, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/assist_pipeline/init.py”, line 41, in async_setup
await async_setup_pipeline_store(hass)
File “/usr/src/homeassistant/homeassistant/helpers/singleton.py”, line 41, in async_wrapped
result = await func(hass) # type: ignore[misc]
File “/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py”, line 966, in async_setup_pipeline_store
await pipeline_store.async_load()
File “/usr/src/homeassistant/homeassistant/helpers/collection.py”, line 265, in async_load
if not (raw_storage := await self._async_load_data()):
File “/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py”, line 774, in _async_load_data
if not (data := await super()._async_load_data()):
File “/usr/src/homeassistant/homeassistant/helpers/collection.py”, line 261, in _async_load_data
return await self.store.async_load()
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 122, in async_load
return await self._load_task
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 131, in _async_load
return await self._async_load_data()
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 149, in _async_load_data
data = await self.hass.async_add_executor_job(
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/util/json.py”, line 74, in load_json
raise HomeAssistantError(error) from error
homeassistant.exceptions.HomeAssistantError: input length is 0: line 1 column 1 (char 0)

Logger: homeassistant.setup
Source: setup.py:204
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Unable to set up dependencies of esphome. Setup failed for dependencies: assist_pipeline
Unable to set up dependencies of default_config. Setup failed for dependencies: assist_pipeline

Logger: homeassistant.setup
Source: setup.py:206
First occurred: 7. Mai 2023 um 23:48:08 (2 occurrences)
Last logged: 7. Mai 2023 um 23:48:18

Setup failed for esphome: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)
Setup failed for default_config: (DependencyError(…), ‘Could not setup dependencies: assist_pipeline’)

Logger: homeassistant.setup
Source: setup.py:385
First occurred: 7. Mai 2023 um 23:48:38 (6 occurrences)
Last logged: 11:38:53

Unable to set up dependencies of esphome. Setup failed for dependencies: assist_pipeline

Also when trying to add a ESPHome integration I am getting this error: “esphome Config flow could not be loaded: Failed dependencies assist_pipeline”

I see similarities to this: dependencies issue after upgrading to debian 11.7 supervicesd · Issue #92474 · home-assistant/core · GitHub

Help highly appreciated.

no ideas? I am really struggeling here

Updated from 2023.4.6 to 2023.5.3 and am receiving the same error - reverting back to 4.6 for now.

I seem to have resolved the issue:

see: After the update ha could not set up cloud, assist_pipeline, mobile_app and default_config

I’m running python v3.10 [not sure if it’s a factor] however after I did:
pip install webrtcvad
2023.5.3 installed without issue.