Open jackmanou opened 3 weeks ago
Hello, Can you post your system logs ? ("Settings" -> "System" -> "Logs").
Thanks in advance, Azerty
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 "
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
Hello, I just figured out what is happening, you are using the version 3.11 of Python.
Home Assistant requires the version 3.12, that's why you are seeing this error message...
What type of installation have you done?
Have a nice day, Azerty
Crap..
I am using Home Assistant through a device from LinknLink called iSG, which has a built-in Home Assistant through an APK file. (I need to check about the Python version and revert) When I had this issue, I was running Home Assistant version 2024.03. Now, we have been upgraded to 2024.11, and we are supposed to be upgrading monthly like everyone else. After the upgrade, I managed to find the missing entities (lock/unlock and I think all the sensors), however, the only problem remaining is the the unlock function through HA is not working.
I can change the auto-lock timer or lock the door when I press the button on HA, however when I click on the unlock button nothing is happening.
no need to downgrade if it now works in 2024.11 ;)
For your lock issue, have you done the following steps: https://github.com/azerty9971/xtend_tuya/blob/main/docs/configure_locks.md
Have a nice day, Azerty
I did NOT know that !!
Thanks a lot!
Subscribed and will test this afternoon, appreciate the help
Best, Antonis
Sorry to come back again, but I did the steps as per the above link and subscribed to the service but with no luck.. Btw I am running version 3.12.3 of Python.
My next steps will be to delete my tuya developer account and try setting everything up from the beginning. Do you have any other ideas/tips as to why this is not working? My only problem here is the unlock function.
Thanks a lot in advance!
Best, Antonis
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