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

fix: replace deprecated hass.components usage #2390

Conversation

danielbrunt57
Copy link
Collaborator

@danielbrunt57 danielbrunt57 commented Aug 2, 2024

fix: use async_create for notification #2380 failed to address hass.components.persistent_notification.async_dismiss on line 1320
See also #2382
Styled as per hacs integration PR #3528 Replace deprecated hass.components usage

```
from homeassistant.components.persistent_notification import (
    async_create as async_create_persistent_notification,
    async_dismiss as async_dismiss_persistent_notification,
)
```
@alandtse alandtse changed the title fix: Replace deprecated hass.components usage fix: replace deprecated hass.components usage Aug 3, 2024
@alandtse alandtse merged commit 063db25 into alandtse:dev Aug 3, 2024
4 checks passed
alandtse added a commit that referenced this pull request Aug 3, 2024
fix: replace deprecated hass.components usage (#2390)
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.

2 participants