I use
notify:
- platform: file
name: my_log
filename: my-log.log
as a way to debug things.
Is there a service to delete the log file using an automation/script.
I’m think there is because I am sure I used to to do this but I can’t find how to do it anywhere now.
Thanks