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

async_forward_entry_setup is deprecated #296

Merged

Conversation

EdLeckert
Copy link
Collaborator

Replace calls to hass.config_entries.async_forward_entry_setup with await hass.config_entries.async_forward_entry_setups.

Resolves #295.

@vinteo
Copy link
Owner

vinteo commented Jul 8, 2024

Does this have a min version? do we need to update the verison here?

"homeassistant": "2024.2.0",

@EdLeckert
Copy link
Collaborator Author

Does this have a min version? do we need to update the verison here?

"homeassistant": "2024.2.0",

No. The function async_forward_entry_setups was first available in June 2022:

home-assistant/core#73806

@vinteo vinteo merged commit dcd3fd1 into vinteo:master Jul 8, 2024
5 checks passed
@EdLeckert EdLeckert deleted the chore-use-await-async_forward_entry_setups branch July 8, 2024 23:26
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 in HA 2024.7.1 (and likely at least a few versions prior)
2 participants