danielperna84 / hahomematic

Python 3 Interface for Home Assistant to interact with HomeMatic devices
MIT License
130 stars 22 forks source link

Error Loading Integration - cannot import name 'CALLBACK_TYPE' from 'hahomematic.const #1612

Closed Voteax closed 2 months ago

Voteax commented 2 months ago

I agree to the following

The problem

Since upgrading the Integration from an old Version to the newest 1.63.1 I cannot get it to load. I got the same error since approx. Version 1.54 so I was waiting and using the old Version. Unfortunately i cannot get back to the old Version because the oldest one in HACS is 1.60.1 now.

The Error:

Logger: homeassistant.setup
Quelle: setup.py:322
Erstmals aufgetreten: 15:23:23 (1 Vorkommnisse)
Zuletzt protokolliert: 15:23:23

Setup failed for custom integration 'homematicip_local': Unable to import component: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 990, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1050, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  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 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/homematicip_local/__init__.py", line 25, in <module>
    from .control_unit import ControlConfig, ControlUnit, get_storage_folder
  File "/config/custom_components/homematicip_local/control_unit.py", line 15, in <module>
    from hahomematic.const import (
ImportError: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 322, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1010, in async_get_component
    self._component_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1002, in async_get_component
    comp = self._get_component()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1050, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  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 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/homematicip_local/__init__.py", line 25, in <module>
    from .control_unit import ControlConfig, ControlUnit, get_storage_folder
  File "/config/custom_components/homematicip_local/control_unit.py", line 15, in <module>
    from hahomematic.const import (
ImportError: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)

Any Help is appreciated.

What version of HomematicIP (local) has the issue?

1.63.1

What was the last working version of HomematicIP (local)?

1.54.0

What type of installation are you running?

Home Assistant OS

What type of installation are you running for your homematic backend?

RaspberryMatic HA-Addon

Which version of your homematic backend are you running?

3.75.7.20240601

What hardware are you running for your system?

Pi5

Which config details do you use

Which interfaces do you use?

Diagnostics information (no logs here)

No response

Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!

No response

Additional information

No response

SukramJ commented 2 months ago

Redownload the integration over HACS

Voteax commented 2 months ago

Done that multiple times with different Versions. The Error is still there. Although when I try Version 1.60.1 the Error looks a little bit different.

`Logger: homeassistant.config_entries Quelle: config_entries.py:586 Erstmals aufgetreten: 15:52:15 (1 Vorkommnisse) Zuletzt protokolliert: 15:52:15

Error setting up entry HMIP for homematicip_local Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/homematicip_local/init.py", line 56, in async_setup_entry await control.start_central() File "/config/custom_components/homematicip_local/control_unit.py", line 219, in start_central self._central.register_system_event_callback( TypeError: CentralUnit.register_system_event_callback() got an unexpected keyword argument 'system_event_callback'`

SukramJ commented 2 months ago

Did you redownload, or just switched the version?

Voteax commented 2 months ago

Both. Switched. Redownloaded. Uninstalled and installed again. Tested it all.

SukramJ commented 2 months ago

Installation and updating is done by HACS, so this is not an issue of this integration. Looks like you HA is not able to download the matching backend lib. So there must be more errors/warnings in the log that indicate communication problems.

Voteax commented 2 months ago

Unfortunately I cannot find any other Error related to this in the Logs. Everything else in HACS and HASS is working fine. No communication Problems which I can see.

Is there a way to install the missing lib or the complete Integration manually? Or can I debug this any further?

Voteax commented 2 months ago

Activated HACS Debug Log und tried redownloading the Integration. Everything seems to download fine as far as I can tell.

2024-07-07 18:12:17.077 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting repository information
2024-07-07 18:12:17.604 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running checks against 1.63.1
2024-07-07 18:12:18.115 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting documentation for version=1.63.1,filename=info.md
2024-07-07 18:12:18.115 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/info.md
2024-07-07 18:12:21.345 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting repository information
2024-07-07 18:12:21.833 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running checks against 1.63.1
2024-07-07 18:12:22.417 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting documentation for version=1.63.1,filename=info.md
2024-07-07 18:12:22.417 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/info.md
2024-07-07 18:12:22.625 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data
2024-07-07 18:12:24.405 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting repository information
2024-07-07 18:12:24.959 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running checks against 1.63.1
2024-07-07 18:12:25.500 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting documentation for version=1.63.1,filename=info.md
2024-07-07 18:12:25.500 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/info.md
2024-07-07 18:12:25.703 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running pre installation steps
2024-07-07 18:12:25.703 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Pre installation steps completed
2024-07-07 18:12:25.703 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running installation steps
2024-07-07 18:12:25.703 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting repository information
2024-07-07 18:12:26.230 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running checks against 1.63.1
2024-07-07 18:12:26.793 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Getting documentation for version=1.63.1,filename=info.md
2024-07-07 18:12:26.793 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/info.md
2024-07-07 18:12:27.005 DEBUG (SyncWorker_25) [custom_components.hacs] Backup for /config/custom_components/homematicip_local, created in /tmp/hacs_backup/homematicip_local
2024-07-07 18:12:27.005 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Local path is set to /config/custom_components/homematicip_local
2024-07-07 18:12:27.005 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Remote path is set to custom_components/homematicip_local
2024-07-07 18:12:27.005 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Version to install: 1.63.1
2024-07-07 18:12:27.006 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Checking out tasks to execute
2024-07-07 18:12:27.006 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Starting queue execution for 34 tasks
2024-07-07 18:12:27.007 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading .gitignore
2024-07-07 18:12:27.007 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/.idea/.gitignore
2024-07-07 18:12:27.008 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading hahm.iml
2024-07-07 18:12:27.008 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/.idea/hahm.iml
2024-07-07 18:12:27.009 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading __init__.py
2024-07-07 18:12:27.009 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/__init__.py
2024-07-07 18:12:27.010 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading binary_sensor.py
2024-07-07 18:12:27.010 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/binary_sensor.py
2024-07-07 18:12:27.010 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading button.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/button.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading climate.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/climate.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading config_flow.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/config_flow.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading const.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/const.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading control_unit.py
2024-07-07 18:12:27.011 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/control_unit.py
2024-07-07 18:12:27.012 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading cover.py
2024-07-07 18:12:27.012 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/cover.py
2024-07-07 18:12:27.152 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of .gitignore completed
2024-07-07 18:12:27.256 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of control_unit.py completed
2024-07-07 18:12:27.263 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of button.py completed
2024-07-07 18:12:27.266 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of binary_sensor.py completed
2024-07-07 18:12:27.278 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of const.py completed
2024-07-07 18:12:27.278 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of hahm.iml completed
2024-07-07 18:12:27.279 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of climate.py completed
2024-07-07 18:12:27.280 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of __init__.py completed
2024-07-07 18:12:27.285 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of config_flow.py completed
2024-07-07 18:12:27.287 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of cover.py completed
2024-07-07 18:12:28.153 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading device_action.py
2024-07-07 18:12:28.153 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/device_action.py
2024-07-07 18:12:28.257 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading device_trigger.py
2024-07-07 18:12:28.257 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/device_trigger.py
2024-07-07 18:12:28.265 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading diagnostics.py
2024-07-07 18:12:28.265 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/diagnostics.py
2024-07-07 18:12:28.267 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading entity_helpers.py
2024-07-07 18:12:28.267 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/entity_helpers.py
2024-07-07 18:12:28.279 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading event.py
2024-07-07 18:12:28.279 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/event.py
2024-07-07 18:12:28.280 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading generic_entity.py
2024-07-07 18:12:28.280 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/generic_entity.py
2024-07-07 18:12:28.282 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading icons.json
2024-07-07 18:12:28.282 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/icons.json
2024-07-07 18:12:28.282 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading light.py
2024-07-07 18:12:28.283 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/light.py
2024-07-07 18:12:28.285 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading lock.py
2024-07-07 18:12:28.286 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/lock.py
2024-07-07 18:12:28.288 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading logbook.py
2024-07-07 18:12:28.289 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/logbook.py
2024-07-07 18:12:28.323 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of device_action.py completed
2024-07-07 18:12:28.432 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of entity_helpers.py completed
2024-07-07 18:12:28.434 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of device_trigger.py completed
2024-07-07 18:12:28.435 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of diagnostics.py completed
2024-07-07 18:12:28.440 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of generic_entity.py completed
2024-07-07 18:12:28.442 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of event.py completed
2024-07-07 18:12:28.443 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of icons.json completed
2024-07-07 18:12:28.447 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of light.py completed
2024-07-07 18:12:28.453 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of logbook.py completed
2024-07-07 18:12:28.487 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of lock.py completed
2024-07-07 18:12:29.323 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading manifest.json
2024-07-07 18:12:29.323 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/manifest.json
2024-07-07 18:12:29.433 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading number.py
2024-07-07 18:12:29.433 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/number.py
2024-07-07 18:12:29.435 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading select.py
2024-07-07 18:12:29.436 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/select.py
2024-07-07 18:12:29.436 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading sensor.py
2024-07-07 18:12:29.437 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/sensor.py
2024-07-07 18:12:29.442 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading services.py
2024-07-07 18:12:29.442 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/services.py
2024-07-07 18:12:29.443 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading services.yaml
2024-07-07 18:12:29.443 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/services.yaml
2024-07-07 18:12:29.444 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading siren.py
2024-07-07 18:12:29.444 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/siren.py
2024-07-07 18:12:29.447 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading strings.json
2024-07-07 18:12:29.447 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/strings.json
2024-07-07 18:12:29.454 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading support.py
2024-07-07 18:12:29.454 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/support.py
2024-07-07 18:12:29.480 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of manifest.json completed
2024-07-07 18:12:29.488 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading switch.py
2024-07-07 18:12:29.488 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/switch.py
2024-07-07 18:12:29.599 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of services.yaml completed
2024-07-07 18:12:29.599 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of number.py completed
2024-07-07 18:12:29.606 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of sensor.py completed
2024-07-07 18:12:29.607 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of strings.json completed
2024-07-07 18:12:29.612 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of siren.py completed
2024-07-07 18:12:29.618 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of support.py completed
2024-07-07 18:12:29.618 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of services.py completed
2024-07-07 18:12:29.642 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of select.py completed
2024-07-07 18:12:29.644 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of switch.py completed
2024-07-07 18:12:30.481 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading text.py
2024-07-07 18:12:30.481 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/text.py
2024-07-07 18:12:30.600 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading de.json
2024-07-07 18:12:30.600 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/translations/de.json
2024-07-07 18:12:30.601 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading en.json
2024-07-07 18:12:30.601 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/translations/en.json
2024-07-07 18:12:30.606 DEBUG (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Downloading update.py
2024-07-07 18:12:30.606 DEBUG (MainThread) [custom_components.hacs] Trying to download https://raw.githubusercontent.com/danielperna84/custom_homematic/1.63.1/custom_components/homematicip_local/update.py
2024-07-07 18:12:30.653 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of text.py completed
2024-07-07 18:12:30.774 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of update.py completed
2024-07-07 18:12:30.780 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of de.json completed
2024-07-07 18:12:30.783 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Download of en.json completed
2024-07-07 18:12:31.784 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Queue execution finished for 34 tasks finished in 4.78 seconds
2024-07-07 18:12:31.786 DEBUG (SyncWorker_13) [custom_components.hacs] Backup dir /tmp/hacs_backup/ cleared
2024-07-07 18:12:31.786 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Installation steps completed
2024-07-07 18:12:31.786 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Running post installation steps
2024-07-07 18:12:31.786 INFO (MainThread) [custom_components.hacs] Reloading custom_component cache
2024-07-07 18:12:31.802 INFO (MainThread) [custom_components.hacs] Custom_component cache reloaded
2024-07-07 18:12:31.804 INFO (MainThread) [custom_components.hacs] <Integration danielperna84/custom_homematic> Post installation steps completed
2024-07-07 18:12:31.804 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data
SukramJ commented 2 months ago

Might be helpful if you could attach the full log here instead of your extracts! You could switch to debug level and restart HA. Best way might be to remove everything from this integration and start from scratch. You have to ensure that the homematicip_local is removed from the custom_components folder.

SukramJ commented 2 months ago

The latest post looks good. after a restart HA should download the required dependency hahomematic.

Voteax commented 2 months ago

OK. I tried the following because I cannot find an error there.

The attached homeassistant.log contains the following:

home-assistant.log

I cannot find any error related to this. Only one error for a template sensor and some deprecated warnings.

Voteax commented 2 months ago

Some Additional Log Entries when i try to add/setup the Integration. The HASS UI now says the following: "Der Konfigurationsfluss konnte nicht geladen werden: {"message":"Invalid handler specified"} "

2024-07-07 19:16:29.131 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [547445029712] Received unknown command: weather/subscribe_forecast
2024-07-07 19:16:34.650 INFO (SyncWorker_22) [homeassistant.loader] Loaded pi_hole from homeassistant.components.pi_hole
2024-07-07 19:16:34.651 INFO (SyncWorker_22) [homeassistant.loader] Loaded sabnzbd from homeassistant.components.sabnzbd
2024-07-07 19:16:34.653 INFO (SyncWorker_22) [homeassistant.loader] Loaded radarr from homeassistant.components.radarr
2024-07-07 19:16:34.655 INFO (SyncWorker_22) [homeassistant.loader] Loaded sonarr from homeassistant.components.sonarr
2024-07-07 19:16:34.656 INFO (SyncWorker_22) [homeassistant.loader] Loaded ibeacon from homeassistant.components.ibeacon
2024-07-07 19:16:34.657 INFO (SyncWorker_22) [homeassistant.loader] Loaded fritz from homeassistant.components.fritz
2024-07-07 19:16:34.658 INFO (SyncWorker_22) [homeassistant.loader] Loaded led_ble from homeassistant.components.led_ble
2024-07-07 19:16:34.659 INFO (SyncWorker_22) [homeassistant.loader] Loaded oralb from homeassistant.components.oralb
2024-07-07 19:16:34.660 INFO (SyncWorker_22) [homeassistant.loader] Loaded upnp from homeassistant.components.upnp
2024-07-07 19:16:34.661 INFO (SyncWorker_22) [homeassistant.loader] Loaded picnic from homeassistant.components.picnic
2024-07-07 19:16:34.661 INFO (SyncWorker_22) [homeassistant.loader] Loaded homematicip_cloud from homeassistant.components.homematicip_cloud
2024-07-07 19:16:34.662 INFO (SyncWorker_22) [homeassistant.loader] Loaded accuweather from homeassistant.components.accuweather
2024-07-07 19:16:34.663 INFO (SyncWorker_22) [homeassistant.loader] Loaded androidtv from homeassistant.components.androidtv
2024-07-07 19:16:34.663 INFO (SyncWorker_22) [homeassistant.loader] Loaded xiaomi_ble from homeassistant.components.xiaomi_ble
2024-07-07 19:16:34.664 INFO (SyncWorker_22) [homeassistant.loader] Loaded cert_expiry from homeassistant.components.cert_expiry
2024-07-07 19:16:41.630 INFO (SyncWorker_22) [homeassistant.loader] Loaded garages_amsterdam from homeassistant.components.garages_amsterdam
2024-07-07 19:16:41.632 INFO (SyncWorker_22) [homeassistant.loader] Loaded workday from homeassistant.components.workday
2024-07-07 19:16:41.632 INFO (SyncWorker_22) [homeassistant.loader] Loaded holiday from homeassistant.components.holiday
2024-07-07 19:16:41.633 INFO (SyncWorker_22) [homeassistant.loader] Loaded generic from homeassistant.components.generic
2024-07-07 19:16:41.634 INFO (SyncWorker_22) [homeassistant.loader] Loaded waze_travel_time from homeassistant.components.waze_travel_time
2024-07-07 19:16:41.634 INFO (SyncWorker_22) [homeassistant.loader] Loaded filesize from homeassistant.components.filesize
2024-07-07 19:16:41.636 INFO (SyncWorker_22) [homeassistant.loader] Loaded version from homeassistant.components.version
2024-07-07 19:16:41.636 INFO (SyncWorker_22) [homeassistant.loader] Loaded cpuspeed from homeassistant.components.cpuspeed
2024-07-07 19:16:41.637 INFO (SyncWorker_22) [homeassistant.loader] Loaded aurora from homeassistant.components.aurora
2024-07-07 19:16:41.639 INFO (SyncWorker_22) [homeassistant.loader] Loaded proximity from homeassistant.components.proximity
2024-07-07 19:16:41.640 INFO (SyncWorker_22) [homeassistant.loader] Loaded shopping_list from homeassistant.components.shopping_list
2024-07-07 19:16:41.641 INFO (SyncWorker_22) [homeassistant.loader] Loaded local_ip from homeassistant.components.local_ip
2024-07-07 19:16:41.641 INFO (SyncWorker_22) [homeassistant.loader] Loaded alert from homeassistant.components.alert
2024-07-07 19:16:41.642 INFO (SyncWorker_22) [homeassistant.loader] Loaded time_date from homeassistant.components.time_date
2024-07-07 19:16:41.643 INFO (SyncWorker_22) [homeassistant.loader] Loaded uptime from homeassistant.components.uptime
2024-07-07 19:16:41.643 INFO (SyncWorker_22) [homeassistant.loader] Loaded growatt_server from homeassistant.components.growatt_server
2024-07-07 19:16:41.644 INFO (SyncWorker_22) [homeassistant.loader] Loaded islamic_prayer_times from homeassistant.components.islamic_prayer_times
2024-07-07 19:16:41.645 INFO (SyncWorker_22) [homeassistant.loader] Loaded moon from homeassistant.components.moon
2024-07-07 19:16:41.646 INFO (SyncWorker_22) [homeassistant.loader] Loaded tod from homeassistant.components.tod
2024-07-07 19:16:41.648 INFO (SyncWorker_22) [homeassistant.loader] Loaded nmap_tracker from homeassistant.components.nmap_tracker
2024-07-07 19:16:41.649 INFO (SyncWorker_22) [homeassistant.loader] Loaded generic_thermostat from homeassistant.components.generic_thermostat
2024-07-07 19:16:41.650 INFO (SyncWorker_22) [homeassistant.loader] Loaded moehlenhoff_alpha2 from homeassistant.components.moehlenhoff_alpha2
2024-07-07 19:16:41.650 INFO (SyncWorker_22) [homeassistant.loader] Loaded zodiac from homeassistant.components.zodiac
2024-07-07 19:16:41.651 INFO (SyncWorker_22) [homeassistant.loader] Loaded google_travel_time from homeassistant.components.google_travel_time
2024-07-07 19:16:41.652 INFO (SyncWorker_22) [homeassistant.loader] Loaded emulated_roku from homeassistant.components.emulated_roku
2024-07-07 19:16:41.652 INFO (SyncWorker_22) [homeassistant.loader] Loaded derivative from homeassistant.components.derivative
2024-07-07 19:16:41.653 INFO (SyncWorker_22) [homeassistant.loader] Loaded energenie_power_sockets from homeassistant.components.energenie_power_sockets
2024-07-07 19:16:41.654 INFO (SyncWorker_22) [homeassistant.loader] Loaded nextbus from homeassistant.components.nextbus
2024-07-07 19:16:41.655 INFO (SyncWorker_22) [homeassistant.loader] Loaded demo from homeassistant.components.demo
2024-07-07 19:16:41.655 INFO (SyncWorker_22) [homeassistant.loader] Loaded integration from homeassistant.components.integration
2024-07-07 19:16:41.656 INFO (SyncWorker_22) [homeassistant.loader] Loaded generic_hygrostat from homeassistant.components.generic_hygrostat
2024-07-07 19:16:41.656 INFO (SyncWorker_22) [homeassistant.loader] Loaded season from homeassistant.components.season
2024-07-07 19:16:41.657 INFO (SyncWorker_22) [homeassistant.loader] Loaded homekit_controller from homeassistant.components.homekit_controller
2024-07-07 19:16:41.658 INFO (SyncWorker_22) [homeassistant.loader] Loaded plant from homeassistant.components.plant
2024-07-07 19:16:41.658 INFO (SyncWorker_22) [homeassistant.loader] Loaded local_todo from homeassistant.components.local_todo
2024-07-07 19:16:41.659 INFO (SyncWorker_22) [homeassistant.loader] Loaded local_calendar from homeassistant.components.local_calendar
2024-07-07 19:16:46.660 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of hahomematic==2024.6.0
2024-07-07 19:16:52.144 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.homematicip_local.config_flow',) inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1279: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
    return await self._post_impl(request, data)
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
    return await super()._post_impl(request, data)

2024-07-07 19:16:52.146 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration homematicip_local: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)
2024-07-07 19:17:12.994 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
SukramJ commented 2 months ago

Which ha version do you use?

Voteax commented 2 months ago

Newest one. 2024.7.1

SukramJ commented 2 months ago

Attempting install of hahomematic==2024.6.0 2024-07-07 19:16:52.144 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.homematicip_local.config_flow',) inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1279: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22 For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module

As already mentioned HA is not able to download the required dependency.

SukramJ commented 2 months ago

Try to run ha core rebuild on the HA command line. That will rebuild the core container.

Voteax commented 2 months ago

Executed "ha core rebuild" and Core Container was successfully rebuild. Uninstalled and installed Integration again. Unfortunately same Error.

Activated HASS Debug Log. The relevant Log Entries:

2024-07-07 19:34:00.550 INFO (SyncWorker_5) [homeassistant.util.package] Attempting install of hahomematic==2024.6.0
2024-07-07 19:34:00.551 DEBUG (SyncWorker_5) [homeassistant.util.package] Running pip command: args=['/usr/local/bin/python3', '-m', 'pip', 'install', '--quiet', 'hahomematic==2024.6.0', '--timeout', '60', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt']
2024-07-07 19:34:00.868 DEBUG (MainThread) [homeassistant.components.http.auth] Authenticated 172.30.32.2 for /api/core/state using bearer token
2024-07-07 19:34:00.869 DEBUG (MainThread) [homeassistant.helpers.http] Serving /api/core/state to 172.30.32.2 (auth: True)
2024-07-07 19:34:00.873 DEBUG (MainThread) [homeassistant.helpers.http] Serving /api/websocket to 172.30.32.2 (auth: False)
2024-07-07 19:34:00.875 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [547838293568] from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Connected from 172.30.32.2
2024-07-07 19:34:00.876 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [547838293568] from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Received {'type': 'auth', 'access_token': '<#removed token#>'}
2024-07-07 19:34:00.876 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [547838293568] Auth OK
2024-07-07 19:34:01.653 DEBUG (MainThread) [zeroconf] IPv6 scope_id 0 associated to the receiving interface
2024-07-07 19:34:01.653 DEBUG (MainThread) [zeroconf] Received from '::ffff:192.168.1.102':5353 [socket 24 (('::', 5353, 0, 0))]: <DNSIncoming:{id=0, flags=33920, truncated=False, n_q=0, n_ans=6, n_auth=0, n_add=0, questions=[], answers=[record[ptr,in,_services._dns-sd._udp.local.]=4500.0/4499,_http._tcp.local., record[ptr,in,_http._tcp.local.]=4500.0/4499,shellyplug-s-C6CA79._http._tcp.local., record[srv,in-unique,shellyplug-s-C6CA79._http._tcp.local.]=120.0/119,shellyplug-s-C6CA79.local.:80, record[txt,in-unique,shellyplug-s-C6CA79._http._tcp.local.]=120.0/119,b'\x16id=she'..., record[a,in-unique,shellyplug-s-C6CA79.local.]=120.0/119,192.168.1.102, record[nsec,in-unique,shellyplug-s-C6CA79.local.]=120.0/119,shellyplug-s-C6CA79.local.,a]}> (500 bytes) as [b'\x00\x00\x84\x80\x00\x00\x00\x06\x00\x00\x00\x00\t_services\x07_dns-sd\x04_udp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x12\x05_http\x04_tcp\x05local\x00\x05_http\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00&\x13shellyplug-s-C6CA79\x05_http\x04_tcp\x05local\x00\x13shellyplug-s-C6CA79\x05_http\x04_tcp\x05local\x00\x00!\x80\x01\x00\x00\x00x\x00!\x00\x00\x00\x00\x00P\x13shellyplug-s-C6CA79\x05local\x00\x13shellyplug-s-C6CA79\x05_http\x04_tcp\x05local\x00\x00\x10\x80\x01\x00\x00\x00x\x00\x7f\x16id=shellyplug-s-C6CA79\x0carch=esp8266\x11app=shelly-plug-s\x0efw_version=1.0&fw_id=20230913-113421/v1.14.0-gcb84623\x12discoverable=false\x13shellyplug-s-C6CA79\x05local\x00\x00\x01\x80\x01\x00\x00\x00x\x00\x04\xc0\xa8\x01f\x13shellyplug-s-C6CA79\x05local\x00\x00/\x80\x01\x00\x00\x00x\x00\x1e\x13shellyplug-s-C6CA79\x05local\x00\x00\x01@']
2024-07-07 19:34:01.670 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [546760528880] Supervisor from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Received {'type': 'ping', 'id': 19}
2024-07-07 19:34:01.670 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [546760528880] Supervisor from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Sending b'{"id":19,"type":"pong"}'
2024-07-07 19:34:02.058 DEBUG (MainThread) [async_upnp_client.server] Sending SSDP packet, transport: None, socket: <socket.socket fd=72, family=2, type=2, proto=0, laddr=('0.0.0.0', 49352)>, target: ('192.168.1.20', 59953)
2024-07-07 19:34:02.058 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Sending SSDP packets, target: ('192.168.1.20', 59953), data: [b'HTTP/1.1 200 OK\r\nCACHE-CONTROL:max-age=1800\r\nDATE:Sun, 07 Jul 2024 17:33:59 GMT\r\nSERVER:async-upnp-client/0.39.0 UPnP/2.0 Server/1.0\r\nST:upnp:rootdevice\r\nUSN:UUID:F42304A8-70E8-476F-B81C-CE521814C643::upnp:rootdevice\r\nEXT:\r\nLOCATION:http://192.168.1.22:40000/device.xml\r\nBOOTID.UPNP.ORG:1720373627\r\nCONFIGID.UPNP.ORG:1\r\n\r\n']
2024-07-07 19:34:02.075 DEBUG (MainThread) [zeroconf] IPv6 scope_id 0 associated to the receiving interface
2024-07-07 19:34:02.075 DEBUG (MainThread) [zeroconf] Received from '::ffff:192.168.1.105':5353 [socket 24 (('::', 5353, 0, 0))]: <DNSIncoming:{id=0, flags=33920, truncated=False, n_q=0, n_ans=6, n_auth=0, n_add=0, questions=[], answers=[record[ptr,in,_services._dns-sd._udp.local.]=4500.0/4499,_http._tcp.local., record[ptr,in,_http._tcp.local.]=4500.0/4499,shellyplug-s-1D3B29._http._tcp.local., record[srv,in-unique,shellyplug-s-1D3B29._http._tcp.local.]=120.0/119,shellyplug-s-1D3B29.local.:80, record[txt,in-unique,shellyplug-s-1D3B29._http._tcp.local.]=120.0/119,b'\x16id=she'..., record[a,in-unique,shellyplug-s-1D3B29.local.]=120.0/119,192.168.1.105, record[nsec,in-unique,shellyplug-s-1D3B29.local.]=120.0/119,shellyplug-s-1D3B29.local.,a]}> (499 bytes) as [b'\x00\x00\x84\x80\x00\x00\x00\x06\x00\x00\x00\x00\t_services\x07_dns-sd\x04_udp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x12\x05_http\x04_tcp\x05local\x00\x05_http\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00&\x13shellyplug-s-1D3B29\x05_http\x04_tcp\x05local\x00\x13shellyplug-s-1D3B29\x05_http\x04_tcp\x05local\x00\x00!\x80\x01\x00\x00\x00x\x00!\x00\x00\x00\x00\x00P\x13shellyplug-s-1D3B29\x05local\x00\x13shellyplug-s-1D3B29\x05_http\x04_tcp\x05local\x00\x00\x10\x80\x01\x00\x00\x00x\x00~\x16id=shellyplug-s-1D3B29\x0carch=esp8266\x11app=shelly-plug-s\x0efw_version=1.0&fw_id=20230913-113421/v1.14.0-gcb84623\x11discoverable=true\x13shellyplug-s-1D3B29\x05local\x00\x00\x01\x80\x01\x00\x00\x00x\x00\x04\xc0\xa8\x01i\x13shellyplug-s-1D3B29\x05local\x00\x00/\x80\x01\x00\x00\x00x\x00\x1e\x13shellyplug-s-1D3B29\x05local\x00\x00\x01@']
2024-07-07 19:34:02.898 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [546760528880] Supervisor from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Received {'type': 'ping', 'id': 20}
2024-07-07 19:34:02.898 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [546760528880] Supervisor from 172.30.32.2 (HomeAssistantSupervisor/2024.06.2 aiohttp/3.9.5 Python/3.12): Sending b'{"id":20,"type":"pong"}'
2024-07-07 19:34:03.321 DEBUG (MainThread) [async_upnp_client.server] Sending SSDP packet, transport: None, socket: <socket.socket fd=72, family=2, type=2, proto=0, laddr=('0.0.0.0', 49352)>, target: ('192.168.1.7', 53201)
2024-07-07 19:34:03.322 DEBUG (MainThread) [async_upnp_client.traffic.ssdp] Sending SSDP packets, target: ('192.168.1.7', 53201), data: [b'HTTP/1.1 200 OK\r\nCACHE-CONTROL:max-age=1800\r\nDATE:Sun, 07 Jul 2024 17:33:59 GMT\r\nSERVER:async-upnp-client/0.39.0 UPnP/2.0 Server/1.0\r\nST:upnp:rootdevice\r\nUSN:UUID:F42304A8-70E8-476F-B81C-CE521814C643::upnp:rootdevice\r\nEXT:\r\nLOCATION:http://192.168.1.22:40000/device.xml\r\nBOOTID.UPNP.ORG:1720373627\r\nCONFIGID.UPNP.ORG:1\r\n\r\n']
2024-07-07 19:34:03.600 DEBUG (MainThread) [zeroconf] IPv6 scope_id 0 associated to the receiving interface
2024-07-07 19:34:03.600 DEBUG (MainThread) [zeroconf] Received from '::ffff:192.168.1.110':5353 [socket 24 (('::', 5353, 0, 0))]: <DNSIncoming:{id=0, flags=33920, truncated=False, n_q=0, n_ans=6, n_auth=0, n_add=0, questions=[], answers=[record[ptr,in,_services._dns-sd._udp.local.]=4500.0/4499,_http._tcp.local., record[ptr,in,_http._tcp.local.]=4500.0/4499,shellyplug-s-80646F825180._http._tcp.local., record[srv,in-unique,shellyplug-s-80646F825180._http._tcp.local.]=120.0/119,shellyplug-s-80646F825180.local.:80, record[txt,in-unique,shellyplug-s-80646F825180._http._tcp.local.]=120.0/119,b'\x1cid=she'..., record[a,in-unique,shellyplug-s-80646F825180.local.]=120.0/119,192.168.1.110, record[nsec,in-unique,shellyplug-s-80646F825180.local.]=120.0/119,shellyplug-s-80646F825180.local.,a]}> (547 bytes) as [b"\x00\x00\x84\x80\x00\x00\x00\x06\x00\x00\x00\x00\t_services\x07_dns-sd\x04_udp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x12\x05_http\x04_tcp\x05local\x00\x05_http\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00,\x19shellyplug-s-80646F825180\x05_http\x04_tcp\x05local\x00\x19shellyplug-s-80646F825180\x05_http\x04_tcp\x05local\x00\x00!\x80\x01\x00\x00\x00x\x00'\x00\x00\x00\x00\x00P\x19shellyplug-s-80646F825180\x05local\x00\x19shellyplug-s-80646F825180\x05_http\x04_tcp\x05local\x00\x00\x10\x80\x01\x00\x00\x00x\x00\x84\x1cid=shellyplug-s-80646F825180\x0carch=esp8266\x11app=shelly-plug-s\x0efw_version=1.0&fw_id=20230913-113421/v1.14.0-gcb84623\x11discoverable=true\x19shellyplug-s-80646F825180\x05local\x00\x00\x01\x80\x01\x00\x00\x00x\x00\x04\xc0\xa8\x01n\x19shellyplug-s-80646F825180\x05local\x00\x00/\x80\x01\x00\x00\x00x\x00$\x19shellyplug-s-80646F825180\x05local\x00\x00\x01@"]
2024-07-07 19:34:04.762 DEBUG (MainThread) [zeroconf] IPv6 scope_id 0 associated to the receiving interface
2024-07-07 19:34:04.762 DEBUG (MainThread) [zeroconf] Received from '::ffff:192.168.1.107':5353 [socket 24 (('::', 5353, 0, 0))]: <DNSIncoming:{id=0, flags=33920, truncated=False, n_q=0, n_ans=6, n_auth=0, n_add=0, questions=[], answers=[record[ptr,in,_services._dns-sd._udp.local.]=4500.0/4499,_http._tcp.local., record[ptr,in,_http._tcp.local.]=4500.0/4499,shellyplug-s-C8C9A3B92434._http._tcp.local., record[srv,in-unique,shellyplug-s-C8C9A3B92434._http._tcp.local.]=120.0/119,shellyplug-s-C8C9A3B92434.local.:80, record[txt,in-unique,shellyplug-s-C8C9A3B92434._http._tcp.local.]=120.0/119,b'\x1cid=she'..., record[a,in-unique,shellyplug-s-C8C9A3B92434.local.]=120.0/119,192.168.1.107, record[nsec,in-unique,shellyplug-s-C8C9A3B92434.local.]=120.0/119,shellyplug-s-C8C9A3B92434.local.,a]}> (547 bytes) as [b"\x00\x00\x84\x80\x00\x00\x00\x06\x00\x00\x00\x00\t_services\x07_dns-sd\x04_udp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00\x12\x05_http\x04_tcp\x05local\x00\x05_http\x04_tcp\x05local\x00\x00\x0c\x00\x01\x00\x00\x11\x94\x00,\x19shellyplug-s-C8C9A3B92434\x05_http\x04_tcp\x05local\x00\x19shellyplug-s-C8C9A3B92434\x05_http\x04_tcp\x05local\x00\x00!\x80\x01\x00\x00\x00x\x00'\x00\x00\x00\x00\x00P\x19shellyplug-s-C8C9A3B92434\x05local\x00\x19shellyplug-s-C8C9A3B92434\x05_http\x04_tcp\x05local\x00\x00\x10\x80\x01\x00\x00\x00x\x00\x84\x1cid=shellyplug-s-C8C9A3B92434\x0carch=esp8266\x11app=shelly-plug-s\x0efw_version=1.0&fw_id=20230913-113421/v1.14.0-gcb84623\x11discoverable=true\x19shellyplug-s-C8C9A3B92434\x05local\x00\x00\x01\x80\x01\x00\x00\x00x\x00\x04\xc0\xa8\x01k\x19shellyplug-s-C8C9A3B92434\x05local\x00\x00/\x80\x01\x00\x00\x00x\x00$\x19shellyplug-s-C8C9A3B92434\x05local\x00\x00\x01@"]
2024-07-07 19:34:05.094 DEBUG (MainThread) [homeassistant.loader] Failed to import homematicip_local platforms ['config_flow'] in executor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1130, in async_get_platforms
    await self.hass.async_add_import_executor_job(
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1073, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1247, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1279, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  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 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  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 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/homematicip_local/__init__.py", line 25, in <module>
    from .control_unit import ControlConfig, ControlUnit, get_storage_folder
  File "/config/custom_components/homematicip_local/control_unit.py", line 15, in <module>
    from hahomematic.const import (
ImportError: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)
2024-07-07 19:34:05.102 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.homematicip_local.config_flow',) inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1279: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
    return await self._post_impl(request, data)
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
    return await super()._post_impl(request, data)

2024-07-07 19:34:05.104 DEBUG (MainThread) [homeassistant.loader] Importing platforms for homematicip_local executor=['config_flow'] loop=['config_flow'] took 0.08s
2024-07-07 19:34:05.104 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration homematicip_local: cannot import name 'CALLBACK_TYPE' from 'hahomematic.const' (/config/deps/lib/python3.12/site-packages/hahomematic/const.py)

Executed "pip install hahomematic==2024.6.0 --timeout 60 --upgrade" in terminal as root. Dont know if this is ok but tried it.

Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting hahomematic==2024.6.0
  Downloading hahomematic-2024.6.0-py3-none-any.whl.metadata (3.2 kB)
Collecting aiohttp>=3.9.3 (from hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/aiohttp-3.9.5-cp312-cp312-musllinux_1_2_aarch64.whl (386 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.4/386.4 kB 6.9 MB/s eta 0:00:00
Collecting orjson>=3.9.15 (from hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/orjson-3.10.6-cp312-cp312-musllinux_1_2_aarch64.whl (172 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.8/172.8 kB 42.7 MB/s eta 0:00:00
Collecting python-slugify>=8.0.4 (from hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
Collecting voluptuous>=0.13.1 (from hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/voluptuous-0.15.2-py3-none-any.whl (31 kB)
Collecting aiosignal>=1.1.2 (from aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting attrs>=17.3.0 (from aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/attrs-23.2.0-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 112.2 MB/s eta 0:00:00
Collecting frozenlist>=1.1.1 (from aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/frozenlist-1.4.1-cp312-cp312-musllinux_1_2_aarch64.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.1/58.1 kB 106.6 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5 (from aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/multidict-6.0.5-cp312-cp312-musllinux_1_2_aarch64.whl (32 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/yarl-1.9.4-cp312-cp312-musllinux_1_2_aarch64.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.3/82.3 kB 98.2 MB/s eta 0:00:00
Collecting text-unidecode>=1.3 (from python-slugify>=8.0.4->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp>=3.9.3->hahomematic==2024.6.0)
  Downloading https://wheels.home-assistant.io/musllinux-index/idna-3.7-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 89.2 MB/s eta 0:00:00
Downloading hahomematic-2024.6.0-py3-none-any.whl (144 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.6/144.6 kB 3.3 MB/s eta 0:00:00
Downloading https://wheels.home-assistant.io/musllinux-index/text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 kB 126.0 MB/s eta 0:00:00
Installing collected packages: text-unidecode, voluptuous, python-slugify, orjson, multidict, idna, frozenlist, attrs, yarl, aiosignal, aiohttp, hahomematic
Successfully installed aiohttp-3.9.5 aiosignal-1.3.1 attrs-23.2.0 frozenlist-1.4.1 hahomematic-2024.6.0 idna-3.7 multidict-6.0.5 orjson-3.10.6 python-slugify-8.0.4 text-unidecode-1.3 voluptuous-0.15.2 yarl-1.9.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Executed "pip install hahomematic==2024.6.0":

Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Requirement already satisfied: hahomematic==2024.6.0 in /usr/lib/python3.12/site-packages (2024.6.0)
Requirement already satisfied: aiohttp>=3.9.3 in /usr/lib/python3.12/site-packages (from hahomematic==2024.6.0) (3.9.5)
Requirement already satisfied: orjson>=3.9.15 in /usr/lib/python3.12/site-packages (from hahomematic==2024.6.0) (3.10.6)
Requirement already satisfied: python-slugify>=8.0.4 in /usr/lib/python3.12/site-packages (from hahomematic==2024.6.0) (8.0.4)
Requirement already satisfied: voluptuous>=0.13.1 in /usr/lib/python3.12/site-packages (from hahomematic==2024.6.0) (0.15.2)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/lib/python3.12/site-packages (from aiohttp>=3.9.3->hahomematic==2024.6.0) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /usr/lib/python3.12/site-packages (from aiohttp>=3.9.3->hahomematic==2024.6.0) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/lib/python3.12/site-packages (from aiohttp>=3.9.3->hahomematic==2024.6.0) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/lib/python3.12/site-packages (from aiohttp>=3.9.3->hahomematic==2024.6.0) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/lib/python3.12/site-packages (from aiohttp>=3.9.3->hahomematic==2024.6.0) (1.9.4)
Requirement already satisfied: text-unidecode>=1.3 in /usr/lib/python3.12/site-packages (from python-slugify>=8.0.4->hahomematic==2024.6.0) (1.3)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3.12/site-packages (from yarl<2.0,>=1.0->aiohttp>=3.9.3->hahomematic==2024.6.0) (3.7)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

Unfortunately same Problem.

SukramJ commented 2 months ago

Do you have a hahm directory in your custom components folder?

Voteax commented 2 months ago

No "hahm" directory in there.

SukramJ commented 2 months ago

I have no idea what is the problem on your system. This version runs on thousands of systems. I also tried to reproduce this on my machines with no success.

I only can recommend you to setup a new HA environment.

SukramJ commented 2 months ago

I only can recommend you to setup a new HA environment.

A restore of your latest backup should minimize the effort after successful testing.

Voteax commented 2 months ago

I tried some Versions of custom-homematic and 1.58.0 is the last working Version on my System. With 1.59.0 the Integration doesn´t load anymore. Unfortunately the Changelog for this Version is big.

Can it be the deprecation of python 3.11? Is a complete reinstall the only Option I have? Will be some effort to Setup all of it again. Also with the Backup I think. But I haven´t done this before.

SukramJ commented 2 months ago

If you use HAOS the you always use the correct version. I can see in your logs that you are using python 3.12.

Voteax commented 2 months ago

I further nagged it down to this commit: https://github.com/danielperna84/custom_homematic/commit/a99f9e1eb58f1e7e139bcce3559554ae0ec7769f

When i revert the changes in there, the Integration is loading with Version 1.59.0 and a replaced "control_unit.py" and "services.py" from Version 1.58.0. Unfortunately I am not a Developer and I don´t understand the changes in there and why these changes causing these Problems for my System.

SukramJ commented 2 months ago

When i revert the changes in there, the Integration is loading with Version 1.59.0 and a replaced "control_unit.py" and "services.py" from Version 1.58.0. Unfortunately I am not a Developer and I don´t understand the changes in there and why these changes causing these Problems for my System.

Congratulations. You found the cause why new versions are released. Don‘t waste my time with this.

I wonder why your system tries to load dependencies from /config/deps . The directory is always empty on my machines.

Voteax commented 2 months ago

I'm really sorry to have bothered you with that. I thought this could also affect others and wanted to help. When there is really no way to reinstall my whole System then I will do it. I'm just afraid that the problem will still exist after reinstalling and importing the backup.

SukramJ commented 2 months ago

I wonder why your system tries to load dependencies from /config/deps . The directory is always empty on my machines.

If there is something in there, then you should min. delete /config/deps/lib/python3.12/site-packages/hahomematic/

Voteax commented 2 months ago

The Contents of the "/config/deps" on my System are as follows:

I deleted "/config/deps/lib/python3.12/site-packages/hahomematic/" uploaded Version 1.59.0 of the Integration it is working 👍 I replaced Version 1.59.0 with the newest HACS Install and it is also working fine.

Thank you very much. 👍 Now I maybe need to find out why these folders are populated?