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

Fix async_forward_entry_setup deprecation in __init__.py #65

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Jamie932
Copy link
Contributor

@Jamie932 Jamie932 commented Dec 8, 2024

Addresses the following errors:

  1. Detected that custom integration 'discord_game' calls async_forward_entry_setup for integration, discord_game with title: Discord Game and entry_id: ..., which is deprecated, await async_forward_entry_setups instead at custom_components/discord_game/init.py, line 19: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please report it to the author of the 'discord_game' custom integration

  2. Detected code that calls async_forward_entry_setup for integration discord_game with title: Discord Game and entry_id: ..., during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

Addresses the following errors:
 Detected that custom integration 'discord_game' calls async_forward_entry_setup for integration, discord_game with title: Discord Game and entry_id: ..., which is deprecated, await async_forward_entry_setups instead at custom_components/discord_game/__init__.py, line 19: hass.async_create_task(. This will stop working in Home Assistant 2025.6, please report it to the author of the 'discord_game' custom integration 

Detected code that calls async_forward_entry_setup for integration discord_game with title: Discord Game and entry_id: ..., during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue
@Jamie932 Jamie932 changed the title FIx async_forward_entry_setup deprecation in __init__.py Fix async_forward_entry_setup deprecation in __init__.py Dec 8, 2024
@LordBoos
Copy link
Owner

Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants