fustom / ariston-remotethermo-home-assistant-v3

Ariston NET remotethermo integration for Home Assistant based on API
MIT License
167 stars 38 forks source link

Integration fails to load #296

Closed npanait closed 9 months ago

npanait commented 9 months ago

Starting with 2024 Home assistant Core, the integration seams to have problems loading. Mine is on 2024.2.0. Here is the extract of the log error:

> Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 827, in get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 994, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/ariston/__init__.py", line 24, in <module>
    from .const import (
  File "/config/custom_components/ariston/const.py", line 66, in <module>
    class AristonBaseEntityDescription(EntityDescription, ABC):
**_TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases_** <

The HA Core developers mentioned this error should be taken with the custom integrations: https://github.com/home-assistant/core/issues/107024 This is an issue reported against a problem in a custom integration. The Home Assistant project doesn't support or recommend the use of custom integrations. If you encounter an issue with an custom integration, please report it with the custom integration author.

Can someone contributing to this great and usefull integration support though? Thanks in advance Nicolae

neoback45 commented 9 months ago

Hello I have the same problème. I downgrade 2024.2.0 and work ok!

fustom commented 9 months ago

https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/278 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/274 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/273 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/266 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/265 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/254 https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/251