Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
After HA update 2024.06 the access to smartlife gets lost and I have to reconfigure the integration. All entities are lost and have to reconfigure the hub using the app PW and then scan the QR code.
Error message:
Error calling entry remove callback abcde@abcde.xyz for smartlife
Expected behavior
Integration keeps working without reconfig; last working HA version 2024.05.x
Diagnostics for integrations and devices
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 858, in async_remove
await component.async_remove_entry(hass, self)
File "/config/custom_components/smartlife/init.py", line 197, in async_remove_entry
await hass.async_add_executor_job(hass_data.manager.unload)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/manager.py", line 218, in unload
self.user_repository.unload(self.terminal_id)
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/user.py", line 40, in unload
self.api.post("/v1.0/m/token/terminal/expire", None, {
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 192, in post
return self.__request("POST", path, params, body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 121, in __request
raise Exception(f"network error:({ret['code']}) {ret['msg']}")
Exception: network error:(-9999999) sign invalid
Screenshots
n/a
Home Assistant Version
2024.06.3
Device info (please complete the following information, which can be found in log):
n/a
Device specifications (please complete the following information, which can be found in log):
Describe the bug
After HA update 2024.06 the access to smartlife gets lost and I have to reconfigure the integration. All entities are lost and have to reconfigure the hub using the app PW and then scan the QR code. Error message: Error calling entry remove callback abcde@abcde.xyz for smartlife
Expected behavior
Integration keeps working without reconfig; last working HA version 2024.05.x
Diagnostics for integrations and devices
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 858, in async_remove await component.async_remove_entry(hass, self) File "/config/custom_components/smartlife/init.py", line 197, in async_remove_entry await hass.async_add_executor_job(hass_data.manager.unload) File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/tuya_sharing/manager.py", line 218, in unload self.user_repository.unload(self.terminal_id) File "/usr/local/lib/python3.12/site-packages/tuya_sharing/user.py", line 40, in unload self.api.post("/v1.0/m/token/terminal/expire", None, { File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 192, in post return self.__request("POST", path, params, body) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 121, in __request raise Exception(f"network error:({ret['code']}) {ret['msg']}") Exception: network error:(-9999999) sign invalid
Screenshots
n/a
Home Assistant Version 2024.06.3
Device info (please complete the following information, which can be found in log):
n/a
Device specifications (please complete the following information, which can be found in log):
n/a
Additional context
n/a