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

Detected that custom integration 'localtuya' calls async_forward_entry_setups #1851

Open
3 tasks done
zolakt opened this issue Nov 22, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@zolakt
Copy link

zolakt commented Nov 22, 2024

The problem

Detected that custom integration 'localtuya' calls async_forward_entry_setups for integration localtuya with title: localtuya and entry_id: 6d28cf3ddfccf70c39f14e8c0d3c76cd, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1 at custom_components/localtuya/__init__.py, line 277: await hass.config_entries.async_forward_entry_setups(entry, platforms), please create a bug report at https://github.com/rospogrigio/localtuya/issues

I've had this warning for a while. And the deadline for this is fast approaching. Are there any planned fixes for this, or has anyone managed to fix this manually until the fix is released?

Environment

  • Localtuya version: 5.2.2 (HACS)
  • Home Assistant Core version: 2024.11.3
  • Does the device work using the Home Assistant Tuya Cloud component ?
  • Does the device work using the Tinytuya (https://github.com/jasonacox/tinytuya) command line tool ?
  • Was the device working with earlier versions of localtuya ? Which one?
  • [] Are you using the Tuya/SmartLife App in parallel ?

Steps to reproduce

  1. Restart Home Assistant
  2. Check logs in System-Logs

DP dump

not required

Provide Home Assistant traceback/logs

not required

Additional information

@zolakt zolakt added the bug Something isn't working label Nov 22, 2024
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