-
-
Notifications
You must be signed in to change notification settings - Fork 145
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: Detected code that calls async_forward_entry_setup #1029
Conversation
Change `async_setup_entry` to use `await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)`
It seems like CI pipelines fail. Any idea? |
All those checks are new to me! I forked the repo like I've done with others in the past, made my change and submitted the PR. I've really no idea at this point what to do. The readme failure seems to be an issue with your repository? Something/something.git returned 403?
|
Seems like the unit tests need to be modified. If it was up to me, I wouldn't be testing anything older than a year. That means 2023.8 would be the oldest supported version. Maybe even 6 months, since this is a custom integration after all. If people want newer versions they have to keep up with HA as well... |
And secondly, something is off with this piece of code https://github.com/basnijholt/adaptive-lighting/actions/runs/10209741520/workflow?pr=1029:
Perhaps your github token expired @basnijholt |
It this integration were mine, I'd deprecate using yaml config and adopt config_flow only configuration like the majority of integrations have done (HA included). |
Only two more releases before this deprecation becomes live in HA, Can this PR be merged or are changes still required? |
I'll try a new fork and merge since I know quite a bit more about this side of things than I did 4 months ago... |
@basnijholt |
Head branch was pushed to by a user without write access
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
"""Initialize the `webapp` package. Set up the application components and handle configuration. """
Hi @basnijholt , |
@basnijholt and again? |
says this:
|
|
@basnijholt |
|
Steps to Resolve the Issue
|
Unable to resolve the 28 failed checks dues to "403" error |
Fixes #1020
Change
async_setup_entry
to useawait hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)