Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home-Assistant 2024.11.1 unable to load esphome (2024-11-08 21:03:49.626 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing component homeassistant.components.esphome) #130169

Open
hcjehg opened this issue Nov 8, 2024 · 4 comments

Comments

@hcjehg
Copy link

hcjehg commented Nov 8, 2024

The problem

After updating to Home-Assistant 2024.11.1 unable to load esphome (2024-11-08 21:03:49.626 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing component homeassistant.components.esphome)

Any ideas ? :-)

See log

Interesting stuff (for this problem) starts at :
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.626 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing component homeassistant.components.esphome

This is the complete log until operation starts (without esphome) at Nov 08 21:05:00 HomeAssistant hass[14291]: {"relay":"24","state":"on"}

I know I have a problem with stream (Too new ffmpeg it seems) but that is a problem I live with, and that has not posed any (real) problem s so far...

Any ideas ?

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

The last of the 2024.10.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

esphome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/esphome/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Nov 08 21:03:34 HomeAssistant systemd[1]: Started Home Assistant.
Nov 08 21:03:40 HomeAssistant hass[14038]: 2024-11-08 21:03:40.253 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dyson_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Nov 08 21:03:40 HomeAssistant hass[14038]: 2024-11-08 21:03:40.255 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Nov 08 21:03:40 HomeAssistant hass[14038]: 2024-11-08 21:03:40.256 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dyson_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Nov 08 21:03:40 HomeAssistant hass[14038]: 2024-11-08 21:03:40.257 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
Nov 08 21:03:43 HomeAssistant hass[14038]: 2024-11-08 21:03:43.632 WARNING (MainThread) [homeassistant.components.lovelace] Lovelace is running in storage mode. Define resources via user interface
Nov 08 21:03:45 HomeAssistant hass[14038]: 2024-11-08 21:03:45.307 ERROR (MainThread) [homeassistant.setup] Error during setup of component stream
Nov 08 21:03:45 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:45 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/setup.py", line 416, in _async_setup_component
Nov 08 21:03:45 HomeAssistant hass[14038]:     result = await task
Nov 08 21:03:45 HomeAssistant hass[14038]:              ^^^^^^^^^^
Nov 08 21:03:45 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/stream/__init__.py", line 226, in async_setup
Nov 08 21:03:45 HomeAssistant hass[14038]:     await hass.async_add_executor_job(set_pyav_logging, debug_enabled)
Nov 08 21:03:45 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58, in run
Nov 08 21:03:45 HomeAssistant hass[14038]:     result = self.fn(*self.args, **self.kwargs)
Nov 08 21:03:45 HomeAssistant hass[14038]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:45 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/stream/__init__.py", line 196, in set_pyav_logging
Nov 08 21:03:45 HomeAssistant hass[14038]:     import av  # pylint: disable=import-outside-toplevel
Nov 08 21:03:45 HomeAssistant hass[14038]:     ^^^^^^^^^
Nov 08 21:03:45 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/av/__init__.py", line 3, in <module>
Nov 08 21:03:45 HomeAssistant hass[14038]:     from av._core import time_base, library_versions, ffmpeg_version_info
Nov 08 21:03:45 HomeAssistant hass[14038]: ImportError: libjxl.so.0.10: cannot open shared object file: No such file or directory
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.460 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['stream']
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.460 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': Could not setup dependencies: stream
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.626 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing component homeassistant.components.esphome
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:49 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:49 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:49 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.712 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('homeassistant.components.esphome',) in /home/hass/lib/python3.12/site-packages/homeassistant/loader.py, line 1071: ComponentProtocol, importlib.import>
Nov 08 21:03:49 HomeAssistant hass[14038]: For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/bin/hass", line 8, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     sys.exit(main())
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main
Nov 08 21:03:49 HomeAssistant hass[14038]:     exit_code = runner.run(runtime_conf)
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/runner.py", line 189, in run
Nov 08 21:03:49 HomeAssistant hass[14038]:     return loop.run_until_complete(setup_and_run_hass(runtime_config))
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
Nov 08 21:03:49 HomeAssistant hass[14038]:     self.run_forever()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
Nov 08 21:03:49 HomeAssistant hass[14038]:     self._run_once()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 1986, in _run_once
Nov 08 21:03:49 HomeAssistant hass[14038]:     handle._run()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
Nov 08 21:03:49 HomeAssistant hass[14038]:     self._context.run(self._callback, *self._args)
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/setup.py", line 165, in async_setup_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     result = await _async_setup_component(hass, domain, config)
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/setup.py", line 334, in _async_setup_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     component = await integration.async_get_component()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1023, in async_get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     comp = self._get_component()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.726 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component homeassistant.components.esphome
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:49 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:49 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:49 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:49 HomeAssistant hass[14038]: The above exception was the direct cause of the following exception:
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1011, in async_get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     comp = await self.hass.async_add_import_executor_job(
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58, in run
Nov 08 21:03:49 HomeAssistant hass[14038]:     result = self.fn(*self.args, **self.kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1082, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     raise ImportError(f"Exception importing {self.pkg_path}") from err
Nov 08 21:03:49 HomeAssistant hass[14038]: ImportError: Exception importing homeassistant.components.esphome
Nov 08 21:03:49 HomeAssistant hass[14038]: During handling of the above exception, another exception occurred:
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:49 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:49 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:49 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:49 HomeAssistant hass[14038]: 2024-11-08 21:03:49.777 ERROR (MainThread) [homeassistant.setup] Setup failed for 'esphome': Unable to import component: Exception importing homeassistant.components.esphome
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:49 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:49 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:49 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:49 HomeAssistant hass[14038]: The above exception was the direct cause of the following exception:
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1011, in async_get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     comp = await self.hass.async_add_import_executor_job(
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58, in run
Nov 08 21:03:49 HomeAssistant hass[14038]:     result = self.fn(*self.args, **self.kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1082, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     raise ImportError(f"Exception importing {self.pkg_path}") from err
Nov 08 21:03:49 HomeAssistant hass[14038]: ImportError: Exception importing homeassistant.components.esphome
Nov 08 21:03:49 HomeAssistant hass[14038]: During handling of the above exception, another exception occurred:
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1071, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     ComponentProtocol, importlib.import_module(self.pkg_path)
Nov 08 21:03:49 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:49 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:49 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:49 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:49 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:49 HomeAssistant hass[14038]: The above exception was the direct cause of the following exception:
Nov 08 21:03:49 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/setup.py", line 334, in _async_setup_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     component = await integration.async_get_component()
Nov 08 21:03:49 HomeAssistant hass[14038]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1031, in async_get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     self._component_future.result()
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1023, in async_get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     comp = self._get_component()
Nov 08 21:03:49 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:49 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1082, in _get_component
Nov 08 21:03:49 HomeAssistant hass[14038]:     raise ImportError(f"Exception importing {self.pkg_path}") from err
Nov 08 21:03:49 HomeAssistant hass[14038]: ImportError: Exception importing homeassistant.components.esphome
Nov 08 21:03:52 HomeAssistant hass[14086]: {"relay":"22","state":"on"}
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.300 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:52 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:52 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:52 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.514 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('homeassistant.components.esphome.config_flow',) in /home/hass/lib/python3.12/site-packages/homeassistant/loader.py, line 1300: return importlib.import>
Nov 08 21:03:52 HomeAssistant hass[14038]: For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/bin/hass", line 8, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     sys.exit(main())
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main
Nov 08 21:03:52 HomeAssistant hass[14038]:     exit_code = runner.run(runtime_conf)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/runner.py", line 189, in run
Nov 08 21:03:52 HomeAssistant hass[14038]:     return loop.run_until_complete(setup_and_run_hass(runtime_config))
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
Nov 08 21:03:52 HomeAssistant hass[14038]:     self.run_forever()
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
Nov 08 21:03:52 HomeAssistant hass[14038]:     self._run_once()
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 1986, in _run_once
Nov 08 21:03:52 HomeAssistant hass[14038]:     handle._run()
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
Nov 08 21:03:52 HomeAssistant hass[14038]:     self._context.run(self._callback, *self._args)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/async_.py", line 112, in sem_task
Nov 08 21:03:52 HomeAssistant hass[14038]:     return await task
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1301, in async_init
Nov 08 21:03:52 HomeAssistant hass[14038]:     flow, result = await self._async_init(flow_id, handler, context, data)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1326, in _async_init
Nov 08 21:03:52 HomeAssistant hass[14038]:     flow = await self.async_create_flow(handler, context=context, data=data)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1518, in async_create_flow
Nov 08 21:03:52 HomeAssistant hass[14038]:     handler = await _async_get_flow_handler(
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 3268, in _async_get_flow_handler
Nov 08 21:03:52 HomeAssistant hass[14038]:     await _load_integration(hass, domain, hass_config)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 3247, in _load_integration
Nov 08 21:03:52 HomeAssistant hass[14038]:     await integration.async_get_platform("config_flow")
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1104, in async_get_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     platforms = await self.async_get_platforms((platform_name,))
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1169, in async_get_platforms
Nov 08 21:03:52 HomeAssistant hass[14038]:     platforms.update(self._load_platforms(platform_names))
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1094, in _load_platforms
Nov 08 21:03:52 HomeAssistant hass[14038]:     platform_name: self._load_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.629 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:52 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:52 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:52 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.657 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.675 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.675 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.676 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.676 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.676 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.677 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.677 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.677 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.678 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.678 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.688 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:52 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:52 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:52 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:52 HomeAssistant hass[14038]: The above exception was the direct cause of the following exception:
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 3247, in _load_integration
Nov 08 21:03:52 HomeAssistant hass[14038]:     await integration.async_get_platform("config_flow")
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1104, in async_get_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     platforms = await self.async_get_platforms((platform_name,))
Nov 08 21:03:52 HomeAssistant hass[14038]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1199, in async_get_platforms
Nov 08 21:03:52 HomeAssistant hass[14038]:     platforms[platform_name] = await future
Nov 08 21:03:52 HomeAssistant hass[14038]:                                ^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]: ImportError: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: The above exception was the direct cause of the following exception:
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/helpers/discovery_flow.py", line 137, in _async_start
Nov 08 21:03:52 HomeAssistant hass[14038]:     await gather_with_limited_concurrency(FLOW_INIT_LIMIT, *init_coros)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/async_.py", line 114, in gather_with_limited_concurrency
Nov 08 21:03:52 HomeAssistant hass[14038]:     return await gather(
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/async_.py", line 112, in sem_task
Nov 08 21:03:52 HomeAssistant hass[14038]:     return await task
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1301, in async_init
Nov 08 21:03:52 HomeAssistant hass[14038]:     flow, result = await self._async_init(flow_id, handler, context, data)
Nov 08 21:03:52 HomeAssistant hass[14038]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1326, in _async_init
Nov 08 21:03:52 HomeAssistant hass[14038]:     flow = await self.async_create_flow(handler, context=context, data=data)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 1518, in async_create_flow
Nov 08 21:03:52 HomeAssistant hass[14038]:     handler = await _async_get_flow_handler(
Nov 08 21:03:52 HomeAssistant hass[14038]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 3268, in _async_get_flow_handler
Nov 08 21:03:52 HomeAssistant hass[14038]:     await _load_integration(hass, domain, hass_config)
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/config_entries.py", line 3254, in _load_integration
Nov 08 21:03:52 HomeAssistant hass[14038]:     raise data_entry_flow.UnknownHandler from err
Nov 08 21:03:52 HomeAssistant hass[14038]: homeassistant.data_entry_flow.UnknownHandler
Nov 08 21:03:52 HomeAssistant hass[14038]: 2024-11-08 21:03:52.787 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.esphome.config_flow
Nov 08 21:03:52 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:52 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:52 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:52 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:52 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:52 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:52 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:52 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:52 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:52 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.014 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: Traceback (most recent call last):
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 08 21:03:53 HomeAssistant hass[14038]:     cache[full_name] = self._import_platform(platform_name)
Nov 08 21:03:53 HomeAssistant hass[14038]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 08 21:03:53 HomeAssistant hass[14038]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 08 21:03:53 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 08 21:03:53 HomeAssistant hass[14038]:     return func(*args, **kwargs)
Nov 08 21:03:53 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 08 21:03:53 HomeAssistant hass[14038]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 08 21:03:53 HomeAssistant hass[14038]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 08 21:03:53 HomeAssistant hass[14038]:     from aioesphomeapi import APIClient
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 08 21:03:53 HomeAssistant hass[14038]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 08 21:03:53 HomeAssistant hass[14038]:     from . import api_options_pb2 as api__options__pb2
Nov 08 21:03:53 HomeAssistant hass[14038]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 08 21:03:53 HomeAssistant hass[14038]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 08 21:03:53 HomeAssistant hass[14038]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 08 21:03:53 HomeAssistant hass[14038]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.096 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.098 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.099 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.100 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.101 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.101 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.102 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.102 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:03:53 HomeAssistant hass[14038]: 2024-11-08 21:03:53.103 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration esphome: Exception importing homeassistant.components.esphome.config_flow
Nov 08 21:05:00 HomeAssistant hass[14038]: 2024-11-08 21:05:00.148 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities switch.powr2_esphome_01_relay are missing or not currently available
Nov 08 21:05:00 HomeAssistant hass[14291]: {"relay":"24","state":"on"}

Additional information

Home Assistant on Arch Linux on Raspberry Pi 4
[root@HomeAssistant hass]# uname -a
Linux HomeAssistant 6.6.56-1-rpi #1 SMP Thu Oct 10 14:31:41 MDT 2024 armv7l GNU/Linux
Python 3.12.4 (main, Jul 9 2024, 21:02:33) [GCC 14.1.1 20240507] on linux
in pyenv

@home-assistant
Copy link

home-assistant bot commented Nov 8, 2024

Hey there @OttoWinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of esphome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


esphome documentation
esphome source
(message by IssueLinks)

@bdraco
Copy link
Member

bdraco commented Nov 8, 2024

There is currently a problem loading pure python protobuf that will be fixed by esphome/aioesphomeapi#992

If you can get the C extensions working that will also fix the issue

@hcjehg
Copy link
Author

hcjehg commented Nov 16, 2024

This problem is still present in 2024.11.2

Nov 16 11:12:53 HomeAssistant hass[2576]: 2024-11-16 11:12:53.801 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.esphome.config_flow
Nov 16 11:12:53 HomeAssistant hass[2576]: Traceback (most recent call last):
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
Nov 16 11:12:53 HomeAssistant hass[2576]:     cache[full_name] = self._import_platform(platform_name)
Nov 16 11:12:53 HomeAssistant hass[2576]:                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
Nov 16 11:12:53 HomeAssistant hass[2576]:     return importlib.import_module(f"{self.pkg_path}.{platform_name}")
Nov 16 11:12:53 HomeAssistant hass[2576]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
Nov 16 11:12:53 HomeAssistant hass[2576]:     return func(*args, **kwargs)
Nov 16 11:12:53 HomeAssistant hass[2576]:            ^^^^^^^^^^^^^^^^^^^^^
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
Nov 16 11:12:53 HomeAssistant hass[2576]:     return _bootstrap._gcd_import(name[level:], package, level)
Nov 16 11:12:53 HomeAssistant hass[2576]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap_external>", line 995, in exec_module
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/homeassistant/components/esphome/__init__.py", line 5, in <module>
Nov 16 11:12:53 HomeAssistant hass[2576]:     from aioesphomeapi import APIClient
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/__init__.py", line 2, in <module>
Nov 16 11:12:53 HomeAssistant hass[2576]:     from .api_pb2 import (  # type: ignore[attr-defined] # noqa: F401
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_pb2.py", line 17, in <module>
Nov 16 11:12:53 HomeAssistant hass[2576]:     from . import api_options_pb2 as api__options__pb2
Nov 16 11:12:53 HomeAssistant hass[2576]:   File "/home/hass/lib/python3.12/site-packages/aioesphomeapi/api_options_pb2.py", line 52, in <module>
Nov 16 11:12:53 HomeAssistant hass[2576]:     google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(needs_setup_connection)
Nov 16 11:12:53 HomeAssistant hass[2576]:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 16 11:12:53 HomeAssistant hass[2576]: AttributeError: type object 'MethodOptions' has no attribute 'RegisterExtension'

@hcjehg
Copy link
Author

hcjehg commented Nov 17, 2024

Any ideas to how I should get rid of this problem (See above) ?

Make a new venv with an up to date python (I'm at 3.12.4), or ... ? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants