Notify to csv file stop working

Hi

I am using a automation to update a CSV file with the date and count of the Electric messurement in my house. All been running to last update manual of my Homeassistant

It has stopped working and i cannot find out how to change it to get it running again

Pls. advice :slight_smile:

Error: Action notify.csv_elforbrug not found

Automation:

alias: “Sommerhus: EL CSV”
description: “”
mode: single
triggers:

  • at: “12:00”
    trigger: time
    conditions:
    actions:
  • data:
    message: “{{states(‘sensor.time_date’)}},{{states(‘sensor.el_maler_stat’)}}”
    action: notify.csv_elforbrug

In configuration.yaml

allowlist_external_dirs:

  • /config/CSV_THN

notify:

  • platform: file
    name: csv_elforbrug
    filename: /config/CSV_THN/test.csv

I foud it…
Need to change the Automation actions

action: notify.send_message
metadata: {}
data:
message: “{{states(‘sensor.time_date’)}},{{states(‘sensor.el_maler_stat’)}}”
target:
entity_id: notify.csv_elforbrug