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

Update __init__.py #137

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Update __init__.py #137

merged 1 commit into from
Jun 4, 2024

Conversation

ccMatrix
Copy link
Contributor

Fixed load_platform called directly error

Fixes #134

Description of change:

Import and use discovery instead of using the direct call.

Formatting, testing, and code coverage

Please note your pull request won't be accepted if you haven't properly formatted your source code, and ensured the unit tests are appropriate. Please note if you are not running on Windows, you can either run the scripts via a bash installation (like git-bash).

  • [] formatstyle.sh reports no errors
  • [] All unit tests pass (test.sh)
  • [] Code coverage has not decreased (test.sh)

Copy link

@geoffoxholm geoffoxholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hope this merges. looks correct to me.

Fixed load_platform called directly error
@franc6 franc6 merged commit ca07a61 into franc6:releases Jun 4, 2024
1 of 3 checks passed
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.

Deprecation warning since 2024.5.0b0
3 participants