You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating pychonet to 2.6.3 the echonetlite integration fails to load for me with the following exception
Traceback (most recent call last):
File "/var/lib/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/homeassistant/lib/python3.11/site-packages/homeassistant/loader.py", line 827, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/echonetlite/__init__.py", line 5, in <module>
import pychonet as echonet
File "/var/lib/homeassistant/lib/python3.11/site-packages/pychonet/__init__.py", line 6, in <module>
from .ElectricBlind import ElectricBlind
File "/var/lib/homeassistant/lib/python3.11/site-packages/pychonet/ElectricBlind.py", line 1, in <module>
from deprecated import deprecated
ModuleNotFoundError: No module named 'deprecated'
It looks like the import in question was added by 9d6b794
Any idea how to fix this? Thanks in advance!
The text was updated successfully, but these errors were encountered:
Running pip install Deprecated seems to have fixed it. Does the Deprecated module need to be somehow added as a dependency so that it can be installed automatically?
After updating pychonet to 2.6.3 the echonetlite integration fails to load for me with the following exception
It looks like the import in question was added by 9d6b794
Any idea how to fix this? Thanks in advance!
The text was updated successfully, but these errors were encountered: