Hi, I recently upgraded to 2023-01 from ~2022-09 ish and lost my nest (google integration). I THINK I had already redone the new web auth method … (I would assume the Oct 3 2022 cutoff would have broken things back then if I had not?). Below is the error I get:
Running my HA in a venv on lxc/lxd
Any thoughts?
Logger: homeassistant.loader
Source: components/nest/api.py:12
First occurred: January 4, 2023 at 8:12:18 PM (1 occurrences)
Last logged: January 4, 2023 at 8:12:18 PM
Unexpected exception importing component homeassistant.components.nest
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/loader.py", line 725, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/nest/__init__.py", line 62, in <module>
from . import api, config_flow
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/nest/api.py", line 12, in <module>
from google_nest_sdm.google_nest_subscriber import GoogleNestSubscriber
File "/srv/homeassistant/lib/python3.10/site-packages/google_nest_sdm/google_nest_subscriber.py", line 14, in <module>
from google.api_core.exceptions import GoogleAPIError, NotFound, Unauthenticated
File "/srv/homeassistant/lib/python3.10/site-packages/google/api_core/exceptions.py", line 29, in <module>
from google.rpc import error_details_pb2
File "/srv/homeassistant/lib/python3.10/site-packages/google/rpc/error_details_pb2.py", line 52, in <module>
_descriptor.FieldDescriptor(
File "/srv/homeassistant/lib/python3.10/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates