Notify is getting me

Below is what I had but after RTFM referenced in replys, I will post an update of what I should have had but is still not acting as it was before.

Prior to the 2024.6 the following worked Could someone please post an example of how to do it now:

config.yaml:
notify:
  - name: NextSong
    platform: file
    filename: 'pianobar/nextsong'

Automation using this:

alias: Button_Pianobar_Pause
description: Momentary Pause Play action
trigger:
  - platform: event
    event_type: ""
  - platform: state
    entity_id:
      - input_button.pianobar_pause
condition: []
action:
  - service: notify.nextsong
    data:
      message: pause
mode: single

The File integration was moved to the UI and is part of the first tranche of notify integrations to move to notify entities. You need to use the notify.send_message entity service, as described in the docs:

Please read the instructions for posting at the top of each forum and edit your post to correctly display the code. The forum editor doesn’t keep the sketch formatting without code tags which makes it unreadable. If you post your code in code tags, more forum members will read it.

Notify has been thoroughly discussed in two other threads:
Where does notify.notify put files? - Configuration - Home Assistant Community (home-assistant.io)

and

Home Assistant Cookbook - Discussion Thread - Configuration - Home Assistant Community (home-assistant.io)

After some RTFM I did this

service: notify.send_message
target:
  entity_id: notify.nextsong
data:
  message: pause

Edited:
it doesn’t create the file as it used to do.