thomasloven / hass-plejd

🔹 Plejd BLE integration for Home Assistant
81 stars 10 forks source link

Error during attempt to load integration. #62

Closed vikreh closed 2 months ago

vikreh commented 3 months ago

Logger: homeassistant.loader Source: custom_components/plejd/init.py:13 Integration: Plejd BLE (documentation, issues) First occurred: 23:37:43 (6 occurrences) Last logged: 23:47:33

Unexpected exception importing platform custom_components.plejd.config_flow Traceback (most recent call last): File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/loader.py", line 779, in get_platform cache[full_name] = self._import_platform(platform_name) File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/loader.py", line 796, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/homeassistant/.homeassistant/custom_components/plejd/init.py", line 13, in PLATFORMS = [Platform.LIGHT, Platform.SWITCH, Platform.SCENE, Platform.EVENT, Platform.BINARY_SENSOR] File "/usr/lib/python3.10/enum.py", line 437, in getattr raise AttributeError(name) from None AttributeError: EVENT

thomasloven commented 3 months ago

Which Home Assistant version are you using?

vikreh commented 2 months ago

Hi, 2023.7.3 running HA Core on Ubuntu based system. Probably on Python 3.10.6 if that is important. I might need to confirm that though.

Den lör 30 mars 2024 00:01Thomas Lovén @.***> skrev:

Which Home Assistant version are you using?

— Reply to this email directly, view it on GitHub https://github.com/thomasloven/hass-plejd/issues/62#issuecomment-2027807389, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCHKEKRTRN2JP5X43O4HB3Y2XQDDAVCNFSM6AAAAABFPAPMQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHAYDOMZYHE . You are receiving this because you authored the thread.Message ID: @.***>

vikreh commented 2 months ago

Python version in both Ubuntu and vnv is 3.10.12.

Regards / Viktor

Den mån 1 apr. 2024 10:23Viktor Rehnqvist @.***> skrev:

Hi, 2023.7.3 running HA Core on Ubuntu based system. Probably on Python 3.10.6 if that is important. I might need to confirm that though.

Den lör 30 mars 2024 00:01Thomas Lovén @.***> skrev:

Which Home Assistant version are you using?

— Reply to this email directly, view it on GitHub https://github.com/thomasloven/hass-plejd/issues/62#issuecomment-2027807389, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARCHKEKRTRN2JP5X43O4HB3Y2XQDDAVCNFSM6AAAAABFPAPMQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHAYDOMZYHE . You are receiving this because you authored the thread.Message ID: @.***>

thomasloven commented 2 months ago

That's a bit too old for me to offer any support. This integration relies on functions that were introduced in Home Assistant eight months ago. I recommend upgrading.