Zehnder ComfoConnect component

Not sure you can get them to talk but you can certainly create automations

Sorry just cuious regarding the intergration entries.
Im not sure if I have done something wrong or if this is the inteded way
but do not see any device in the integration, just the entities… ?
if possible can someome please confirm…
otherwise wanted to say thanks all is working as expected.

Since the Core-update to 2024.9.3 the comfoair integration is somehow damaged.
That is shown in the log:


Logger: homeassistant.setup
Quelle: setup.py:334
Erstmals aufgetreten: 14:05:38 (1 Vorkommnisse)
Zuletzt protokolliert: 14:05:38

Setup failed for custom integration 'comfoconnect': Unable to import component: cannot import name 'runtime_version' from 'google.protobuf' (/usr/local/lib/python3.12/site-packages/google/protobuf/__init__.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, 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 1067, 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/comfoconnect/__init__.py", line 8, in <module>
    from aiocomfoconnect import ComfoConnect, discover_bridges
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/__init__.py", line 3, in <module>
    from .bridge import Bridge  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 27, in <module>
    from .protobuf import zehnder_pb2
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/protobuf/zehnder_pb2.py", line 15, in <module>
    import nanopb.generator.proto.nanopb_pb2 as nanopb__pb2
  File "/usr/local/lib/python3.12/site-packages/nanopb/generator/proto/nanopb_pb2.py", line 9, in <module>
    from google.protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/usr/local/lib/python3.12/site-packages/google/protobuf/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
    self._component_future.result()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component
    comp = self._get_component()
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, 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/comfoconnect/__init__.py", line 8, in <module>
    from aiocomfoconnect import ComfoConnect, discover_bridges
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/__init__.py", line 3, in <module>
    from .bridge import Bridge  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/bridge.py", line 27, in <module>
    from .protobuf import zehnder_pb2
  File "/usr/local/lib/python3.12/site-packages/aiocomfoconnect/protobuf/zehnder_pb2.py", line 15, in <module>
    import nanopb.generator.proto.nanopb_pb2 as nanopb__pb2
  File "/usr/local/lib/python3.12/site-packages/nanopb/generator/proto/nanopb_pb2.py", line 9, in <module>
    from google.protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/usr/local/lib/python3.12/site-packages/google/protobuf/__init__.py)

I tried to un- and reinstall it. Even that is impossible. De- and reactivation shows no results.
What is to be done to get it working again?
Regards
Bernt

I just received a fixing update in HACS. When you click on refresh info (right top corner) it should show a new version.

Nice work for the quick fix!

I have the same problem which also caused all my REST sensors to read unavailable. I reverted to 2024.9.2 and now the comfoconnect integration won’t load. I can’t find any option to get it to reload. It isn’t a HACS integration so I don’t get how it could update through that.

Same here, still…

Your screenshot suggests you setup in YAML. I think you better set it up from the UI. That might made a difference.

Correct, reverting won’t work. Update to 0.2.3 in HACS and then remove the integration and set it up again. The reverting process has thrown away your old credentials.