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

Add support for importing integrations in the executor #111336

Merged
merged 28 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
preserve comments
  • Loading branch information
bdraco committed Feb 26, 2024
commit 31bd697b927be034e9cb00c315c05a61433420e7
2 changes: 2 additions & 0 deletions homeassistant/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ def log_error(msg: str, exc_info: Exception | None = None) -> None:
log_error(str(err))
return False

# Some integrations fail on import because they call functions incorrectly.
# So we do it before validating config to catch these errors.
try:
component = await integration.async_get_component()
except ImportError as err:
Expand Down
Loading