I am running HA in a container and starting with HA version 2023.8.1 (and with every version afterwards) I unfortunately get an error message when starting HA that some integrations cannot be found and HA gets stuck and does not load afterwards.
Example error when trying to start with HA Version 2023.8.1:
2023-08-27 16:11:49.172 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548237125696] Error handling message: Unknown error (unknown_error) Display Panel from 192.168.2.100 (Mozilla/5.0 (X11; CrOS aarch64 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5672.95 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 417, in handle_get_services
payload = await _async_get_all_descriptions_json(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 398, in _async_get_all_descriptions_json
descriptions = await async_get_all_descriptions(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 612, in async_get_all_descriptions
translations = await translation.async_get_translations(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 318, in async_get_translations
cached = await cache.async_fetch(language, category, components)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 209, in async_fetch
await self._async_load(language, components_to_load)
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 230, in _async_load
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'mennekes' not found.
2023-08-27 16:11:55.575 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548184098240] Error handling message: Unknown error (unknown_error) Home Assistant Cast from 127.0.0.1 (Mozilla/5.0 (Fuchsia) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 CrKey/1.56.500000)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 417, in handle_get_services
payload = await _async_get_all_descriptions_json(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 398, in _async_get_all_descriptions_json
descriptions = await async_get_all_descriptions(hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 612, in async_get_all_descriptions
translations = await translation.async_get_translations(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 318, in async_get_translations
cached = await cache.async_fetch(language, category, components)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 209, in async_fetch
await self._async_load(language, components_to_load)
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 230, in _async_load
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'mennekes' not found.
Example error when trying to start with HA Version 2023.9.1:
2023-09-09 23:06:56.040 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/pyscript/__init__.py", line 330, in hass_started
await State.get_service_params()
File "/config/custom_components/pyscript/state.py", line 80, in get_service_params
all_services = await async_get_all_descriptions(cls.hass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 612, in async_get_all_descriptions
translations = await translation.async_get_translations(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 318, in async_get_translations
cached = await cache.async_fetch(language, category, components)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 209, in async_fetch
await self._async_load(language, components_to_load)
File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 230, in _async_load
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'studer' not found.
Some odd observation, I also have the custom integration pyscript installed and actually in pyscript I do have a python module âmennekesâ and a python module âstuderâ, and now both of these strings are flagged by HA as âIntegration âxxxâ not found.â after 2023.8.1 with the translation, but this should really be completely independent and should not be triggering such an integration not found error?
I do not have a custom integration with either of those names and I also canât find a file with âstuderâ or âmennekesâ in its name (with find . -name âstuderâ
or find . -name âmennekesâ`) or even a file with the string "studer" or âmennekesâ (with
fgrep -r âstuderâor
fgrep -r âmennekesâ```) in my HA/config directory (outside the pyscript directory)? But HA somewhere still thinks that integrations with the names âstuderâ or âmennekesâ exist and with the new translated services in HA 2023.8.1 it tries to find them to apply the new translation services but then gets stuck and doesnât load?
So unfortunately I am currently stuck with 2023.7.3 (where everything works just fine). Something must have changed in 2023.8.1 that leads to this error but I actually did not change anything on my side so could this be a bug introduced with the translation services starting with 2023.8.1?
See also discussion after my post here.