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: Raise ConfigEntryNotReady before calling async_forward_entry_setups #2335

Closed
wants to merge 2 commits into from
Closed

fix: Raise ConfigEntryNotReady before calling async_forward_entry_setups #2335

wants to merge 2 commits into from

Conversation

danielbrunt57
Copy link
Collaborator

No description provided.

danielbrunt57 and others added 2 commits July 20, 2024 05:44
try:
 await hass.config_entries.async_forward_entry_setups(config_entry, [component] )
 except (asyncio.TimeoutError, TimeoutException) as ex:
 raise ConfigEntryNotReady(f"Timeout while loading config entry for {component}") from ex
@danielbrunt57 danielbrunt57 reopened this Jul 20, 2024
@danielbrunt57 danielbrunt57 changed the title Fixes #2283 raise config entry not ready before calling async forward entry setups fix: Raise ConfigEntryNotReady before calling async_forward_entry_setups Jul 20, 2024
@danielbrunt57 danielbrunt57 reopened this Jul 20, 2024
@danielbrunt57
Copy link
Collaborator Author

Seems to resolve Issue #2283

@danielbrunt57 danielbrunt57 deleted the Fixes-#2283-Raise-ConfigEntryNotReady-before-calling-async_forward_entry_setups branch July 20, 2024 13:14
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.

1 participant