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

Replace deprecated async_forward_entry_setup method #141

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

xathon
Copy link
Contributor

@xathon xathon commented Dec 20, 2024

The new async_forward_entry_setups method accepts the whole BATTERY_PLATFORMS Iterable, so the module doesn't have to do the iteration itself. See https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups/ for reference.

Fixes #134 and #140 .

The new async_forward_entry_setups method accepts the whole BATTERY_PLATFORMS Iterable, so the module doesn't have to do the iteration itself.
@xathon xathon changed the title fix: replace deprecated async_forward_entry_setup method Replace deprecated async_forward_entry_setup method Dec 20, 2024
@xathon
Copy link
Contributor Author

xathon commented Dec 29, 2024

Hope you had a calm Christmas! Just wanted to bump this, since it would be great to push this before HA 2025.1 rolls out.

@hif2k1 hif2k1 merged commit 72ce2a3 into hif2k1:master Dec 29, 2024
@hif2k1
Copy link
Owner

hif2k1 commented Dec 31, 2024 via email

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.

Depricated code call
2 participants