jason0x43 / hacs-hubitat

A Hubitat integration for Home Assistant
MIT License
189 stars 46 forks source link

Hubitat intergration fails to load after updating to 2024.1.6 today #253

Closed dlarkinsPonderosa closed 5 months ago

dlarkinsPonderosa commented 5 months ago

I have 4 instances, and none of them are loaded.

Logger: homeassistant.loader Source: loader.py:822 First occurred: 3:06:50 PM (1 occurrences) Last logged: 3:06:50 PM

Unexpected exception importing component custom_components.hubitat Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 822, in get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/config/custom_components/hubitat/init.py", line 9, in from custom_components.hubitat.services import ( File "/config/custom_components/hubitat/services.py", line 11, in from .alarm_control_panel import HubitatSecurityKeypad File "/config/custom_components/hubitat/alarm_control_panel.py", line 23, in from .device import HubitatEntity File "/config/custom_components/hubitat/device.py", line 133, in class HubitatEntity(HubitatBase, UpdateableEntity): TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

jason0x43 commented 5 months ago

Are you running the latest version of the integration?

dlarkinsPonderosa commented 5 months ago

Just came back to say I upgraded the integration and the issue was resolved! (sorry, I thought I had updated it already, but thanks for commenting so fast)

dlarkinsPonderosa commented 5 months ago

resolved by updating to latest version of Hubitat integration image