hi, i try to get my tuya camera working (Battery Camera WIFICBO20WT (yjuae5hncav6ncv9)),
but everything is greyed and not responding.
i have a error in tuya addon:
Logger: homeassistant.config_entries
Source: components/tuya/__init__.py:79
First occurred: 10:36:47 (1 occurrences)
Last logged: 10:36:47
Error setting up entry [email protected] for tuya
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 79, in async_setup_entry
response = await hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 222, in connect
self.token_info = TuyaTokenInfo(response)
File "/usr/local/lib/python3.9/site-packages/tuya_iot/openapi.py", line 41, in __init__
token_response.get("t", 0)
TypeError: unsupported operand type(s) for +: 'int' and 'str'
i’m running 2022.4.7 in a docker.
i hope somebody can help me
dont want to metoo here… but that int string indication should be fixable by one self? THink as i’m running HASOSS i cant modify the py file that contains this piece of code right? (i did for custom components lots of times, but not for internal integrations)
I have got my Tuya devices running again. Here is what I did.
I first updated the Tuya android app (there is a recent update). After updating the Tuya app I restarted my home assistant and it started working again. I hope this helps.
It is correct. Tuya v4.4.1 came out yesterday, but I am using Smart Life android app, and not Tuya.
There is not new version of it. The last upgrade was in August. I have tried the HA restart anyway (again), and now it solved the problem. Tuya integration is working again.