[Bug] module misspelled?
Home assistant updated and wyze integration no longer works. Says no. Module wyzeapy should it be wyzeapi?
Logger: homeassistant.setup Source: setup.py:251 First occurred: 3:02:19 AM (1 occurrences) Last logged: 3:02:19 AM
Setup failed for custom integration 'wyzeapi': Unable to import component: No module named 'wyzeapy'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/homeassistant/setup.py", line 251, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homeassistant/loader.py", line 827, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/wyzeapi/__init__.py", line 13, in <module>
from wyzeapy import Wyzeapy
ModuleNotFoundError: No module named 'wyzeapy'
Wyzeapy is another library that the integration uses, it’s not a misspelling. Since the latest HA version switched to Python 3.12 maybe that library didn’t get installed in the right place. I’d try removing the Wyze integration from HA and HACS and reinstalling and see if that fixes it.
Can confirm redownload/reinstall worked for me.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.