azerty9971 / xtend_tuya

eXtend Tuya's integration
GNU General Public License v3.0
58 stars 5 forks source link

G30 Door Lock missing entities in HA #142

Open jackmanou opened 2 days ago

jackmanou commented 2 days ago

Hi,

I have downloaded the Xtend Tuya from HACS, but have failed to install the integration getting the below error:

" Config flow could not be loaded: {"message":"Invalid handler specified"} "

Even though all 3 devices are added through Xtend Tuya (lock, keypad, and bridge) their entities are not present. I am using HA through a new device from LinknLink the iSG. My HA core version is 2024.3.3, if this is helpful. Any ideas, if we can sort this out please, or what am I doing wrong?

Thanks a lot! Antonis

azerty9971 commented 21 hours ago

Hello, Can you post your system logs ? ("Settings" -> "System" -> "Logs").

Thanks in advance, Azerty

jackmanou commented 20 hours ago

Hello,

Thanks for the reply. I believe this is what you want (I am a newbie, of course, so I hope this is correct). I found two errors, here is one:

Logger: homeassistant.loader Source: loader.py:1025 First occurred: 13:57:27 (1 occurrences) Last logged: 13:57:27

Unexpected exception importing platform custom_components.xtend_tuya.config_flow Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/loader.py", line 1025, in _load_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/loader.py", line 1058, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1126, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/data/data/com.termux/files/home/.homeassistant/custom_components/xtend_tuya/init.py", line 16, in from .multi_manager.multi_manager import ( File "/data/data/com.termux/files/home/.homeassistant/custom_components/xtend_tuya/multi_manager/multi_manager.py", line 31, in from .shared.shared_classes import ( File "/data/data/com.termux/files/home/.homeassistant/custom_components/xtend_tuya/multi_manager/shared/shared_classes.py", line 49 type XTConfigEntry = ConfigEntry[HomeAssistantXTData] ^^^^^^^^^^^^^ SyntaxError: invalid syntax

and the second error:

Logger: homeassistant.config_entries Source: config_entries.py:2444 First occurred: 13:57:27 (1 occurrences) Last logged: 13:57:27

Error occurred loading flow for integration xtend_tuya: Exception importing custom_components.xtend_tuya.config_flow