home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.97k stars 29.63k forks source link

File notifications stopped working in latest release #121822

Closed sebastianmettler closed 1 month ago

sebastianmettler commented 1 month ago

The problem

After upgrade to 2024.6.x, I detected an issue with File Notification. Something change in HA notify: "Migrate the File legacy notification service for the file domain File notify services have been migrated. A new notify entity is now available to replace each legacy notify service. Update any automation to use the new notify.send_message service exposed with this new entity. Once this is done, fix this problem and restart Home Assistant" Captura de pantalla 2024-07-11 203458 Captura de pantalla 2024-07-11 203351

What version of Home Assistant Core has the issue?

core-2024.7.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

rrooggiieerr commented 1 month ago

You just have to do what is described in the the message "Update any automation to use the new notify.send_message service". Once this is done you can remove any references to the file notify in configuration.yaml

Also see https://www.home-assistant.io/blog/2024/06/05/release-20246/#backward-incompatible-changes and https://www.home-assistant.io/integrations/file#notifications

home-assistant[bot] commented 1 month ago

Hey there @fabaff, mind taking a look at this issue as it has been labeled with an integration (file) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `file` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign file` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


file documentation file source (message by IssueLinks)

joostlek commented 1 month ago

Rogier explained it well, so I'm closing this issue