Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom component issue - Please report it to the author of the 'smartlife' custom integration #1012

Open
abhishekbanik opened this issue Dec 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@abhishekbanik
Copy link

I have been having issues from last few days. Smartlife and Tuya integration fails to startup. Have been adding new hub all the time. The log says:

Logger: tuya_sharing
Source: /usr/local/lib/python3.13/site-packages/tuya_sharing/customerapi.py:160
First occurred: 12:24:49 (4 occurrences)
Last logged: 18:21:50

net work error = Detected that custom integration 'smartlife' calls hass.config_entries.async_update_entry from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassconfig_entriesasync_update_entry at custom_components/smartlife/init.py, line 261: self.hass.config_entries.async_update_entry(self.entry, data=data). Please report it to the author of the 'smartlife' custom integration

Log details (WARNING)
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 12:24:49 (4 occurrences)
Last logged: 18:21:50

Detected that custom integration 'smartlife' calls hass.config_entries.async_update_entry from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassconfig_entriesasync_update_entry at custom_components/smartlife/init.py, line 261: self.hass.config_entries.async_update_entry(self.entry, data=data). Please report it to the author of the 'smartlife' custom integration

Attaching a screenshot as well.
smartlife issue

@abhishekbanik abhishekbanik added the bug Something isn't working label Dec 28, 2024
@abhishekbanik
Copy link
Author

Another log just now:

Logger: tuya_sharing
Source: /usr/local/lib/python3.13/site-packages/tuya_sharing/manager.py:138
First occurred: 17:43:44 (8 occurrences)
Last logged: 19:03:54

on message error = 35
on message error = 82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant