Fix deprecation: import persistent_notification and use it directly#7
Open
bobrippling wants to merge 1 commit into
Open
Fix deprecation: import persistent_notification and use it directly#7bobrippling wants to merge 1 commit into
bobrippling wants to merge 1 commit into
Conversation
bobrippling
force-pushed
the
fix/notify-deprecation
branch
from
February 24, 2025 12:23
3a1d21a to
7b13f82
Compare
bobrippling
marked this pull request as draft
February 24, 2025 18:04
See also home-assistant/core#63901. This avoids the below deprecation: ``` Detected that custom integration 'authenticated' accesses hass.components.persistent_notification which should be updated to import functions used from persistent_notification directly at custom_components/authenticated/sensor.py, line XYZ: hass.components.persistent_notification.create( This will stop working in Home Assistant 2025.3, please report it to the author of the 'authenticated' custom integration ```
bobrippling
force-pushed
the
fix/notify-deprecation
branch
from
February 24, 2025 22:00
7b13f82 to
c7fa1ca
Compare
bobrippling
marked this pull request as ready for review
February 25, 2025 12:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See also home-assistant/core#63901. This avoids the below deprecation:
Tested: login notifications still appear as expected