Skip to content

Error loading v1.7.6 #227

@nsleigh

Description

@nsleigh

I just upgraded to v1.7.6 and it is failing to load, this is the log - I am running HA 2025.11.3. Let me know if you need more info:

Log details (ERROR)
Logger: homeassistant.setup
Source: setup.py:343
First occurred: 09:00:28 (1 occurrence)
Last logged: 09:00:28

Setup failed for custom integration 'stateful_scenes': Unable to import component: cannot import name 'resolve_area_id' from 'homeassistant.helpers.template.helpers' (/usr/src/homeassistant/homeassistant/helpers/template/helpers.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1006, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._get_component, True
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1066, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1027, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/stateful_scenes/init.py", line 23, in
from .StatefulScenes import Hub, Scene
File "/config/custom_components/stateful_scenes/StatefulScenes.py", line 12, in
from homeassistant.helpers.template.helpers import resolve_area_id
ImportError: cannot import name 'resolve_area_id' from 'homeassistant.helpers.template.helpers' (/usr/src/homeassistant/homeassistant/helpers/template/helpers.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 343, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1026, in async_get_component
self._component_future.result()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1018, in async_get_component
comp = self._get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1066, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1027, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/stateful_scenes/init.py", line 23, in
from .StatefulScenes import Hub, Scene
File "/config/custom_components/stateful_scenes/StatefulScenes.py", line 12, in
from homeassistant.helpers.template.helpers import resolve_area_id
ImportError: cannot import name 'resolve_area_id' from 'homeassistant.helpers.template.helpers' (/usr/src/homeassistant/homeassistant/helpers/template/helpers.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions