Skip to content

[BUG] No module named 'homeassistant.components.hive.services' #247

Closed

Description

@CaptInsano

What happened?

Was excited to update to the newest version (2026.11.1) to get boost end times back.

I am on Home Assistant 2026.10.4 still as I need to time to do the new renaming process on update to 2026.11.

I updated from version 2026.11.0 of this integration to the latest version (as above) but after reboot the integration was listed as "not loaded" with the following errors in logs:

Logger: homeassistant.setup
Source: setup.py:341
First occurred: 14:07:51 (1 occurrence)
Last logged: 14:07:51

Setup failed for custom integration 'hive': Unable to import component: No module named 'homeassistant.components.hive.services'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 341, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1060, in async_get_component
    self._component_future.result()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1040, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self._get_component, True
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.14/concurrent/futures/thread.py", line 86, in run
    result = ctx.run(self.task)
  File "/usr/local/lib/python3.14/concurrent/futures/thread.py", line 73, in run
    return fn(*args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1100, 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.14/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 763, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/config/custom_components/hive/__init__.py", line 28, in <module>
    from .services import async_setup_services
  File "/config/custom_components/hive/services.py", line 1, in <module>
    from homeassistant.components.hive.services import *
ModuleNotFoundError: No module named 'homeassistant.components.hive.services'



This log entry is from a custom integration.

Logger: custom_components.hive
Source: config_entries.py:4361
Integration: hive (documentation, issues)
First occurred: 14:08:13 (1 occurrence)
Last logged: 14:08:13

Error occurred loading flow for integration hive: No module named 'homeassistant.components.hive.services'

I tried to delete the integration and re-add it but deleting it did nothing, it still was listed in the active integrations page so I downgraded to my prev version 2026.11.0. After that reboot it was gone form the active integration list so rather than setting it back up at version 2026.11.0, I tried ungrading to 2026.11.1 again and rebooted. It was still not listed in active integrations so I tried setting up at version 2026.11.1 and then got the following error:

Config flow could not be loaded: {"message":"Invalid handler specified"}

with the same errors as above in logs.

I have now downgraded to 2026.11.0 and set it back up and it is working.

Does version 2026.11.1 of this integration require v2026.11 of Home Assistant or is this a bug?

If home assistant 2026.11 is required it should not be upgradable for users on lower versions.

Steps to reproduce

No response

Hive custom component version

2026.11.1

Home Assistant version

2026.10.4

How did you install the component?

HACS

Which Hive devices are affected?

Hub, Login / 2FA / setup, Heating / thermostat, Hot water, Smart plugs

Debug logs


Anything else?

No response

Checks

  • I've removed personal information (email, tokens, device IDs) from the logs above.

Activity

  1. added
    bug
    on Nov 22, 2026
  2. KJonline commented on Nov 22, 2026

    @KJonline
    Contributor

    @CaptInsano how do you install the custom component? This latest version requires home assistant 2026.11.2 as a minimum requirement.

    I tested this through HACs and it blocked the installation of it until I upgraded. Do you install this component manually?

  3. CaptInsano commented on Nov 23, 2026

    @CaptInsano
    Author

    Normal upgrade process through HACS

    image

    There was no notice about 2026.11 requirement and HACS allowed the upgrade?

    I have other integrations (Universal Remote Card) which HACS have refused to upgrade.

  4. CaptInsano commented on Nov 23, 2026

    @CaptInsano
    Author

    I'll mark issue as closed as integration works on Home Assistant 2026.11 but unusual that I was allowed update when on 2026.10.4

  5. KJonline commented on Nov 23, 2026

    @KJonline
    Contributor

    Very unusual, I’ve upgraded my instagram now but definitely got a red pop up advising me I didn’t meet the minimum requirement of home assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions