Notify for platform: file gives error at Restart

Good day
Starting using Home Assistant a bit more :slight_smile:
I have this in configuration.yaml:
notify:
#--------------------------------------------------------

  • name: solar_log
    platform: file
    filename: /config/solar_log.csv
    timestamp: true

  • platform: smtp
  • platform: telegram

Last 2 platforms work 100%
For platform: file I get after Restart the error below.

Anyone can point me to a solution? I expected to create a simple log file
Thanks in advance.

Logger: homeassistant.components.notify
Source: components/notify/legacy.py:112
integration: Notifications (documentation, issues)
First occurred: 10:29:48 (1 occurrences)
Last logged: 10:29:48

Error setting up platform file
Traceback (most recent call last):
File โ€œ/usr/src/homeassistant/homeassistant/components/notify/legacy.pyโ€, line 112, in async_setup_platform
raise HomeAssistantError(โ€œInvalid notify platform.โ€) # noqa: TRY301
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant.exceptions.HomeAssistantError: Invalid notify platform.

File was moved from yaml to GUI some versions ago. Now it is probably removed.