tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
159 stars 29 forks source link

No module named 'homeassistant.core_config' #206

Open pflegair opened 2 days ago

pflegair commented 2 days ago

Describe the bug Directly after the update from 3.0.5 to 3.0.6 and the followin restart all entities stopped reporting.

The logs state: No module named 'homeassistant.core_config' Logger: homeassistant.setup Source: setup.py:334

Debug information Home Assistant running in Docker Answer the questions below before submitting a new issue.

To Reproduce Steps to reproduce the behavior:

  1. update to 3.0.6
  2. restart
  3. ???
  4. profit
aurimas-btk commented 20 hours ago

I'm using Kiosk mode. URL is working properly. Error after upgrade to 3.0.6:

Logger: homeassistant.setup Source: setup.py:334 First occurred: November 22, 2024 at 23:00:41 (1 occurrences) Last logged: November 22, 2024 at 23:00:41

Setup failed for custom integration 'fusion_solar': Unable to import component: No module named 'homeassistant.core_config' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component self._component_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component comp = await self.hass.async_add_import_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, *self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/config/custom_components/fusion_solar/init.py", line 5, in from homeassistant.core_config import Config ModuleNotFoundError: No module named 'homeassistant.core_config'

wompiefor2024 commented 18 hours ago

Same isue: Directly after the update from 3.0.5 to 3.0.6 and the followin restart all entities stopped reporting. The logs state: No module named 'homeassistant.core_config' Runs in Docker

tijsverkoyen commented 18 hours ago

Which version of Home Assistant are you using?

aurimas-btk commented 16 hours ago

10.03. Issue fixed after upgrade to 11.03