Hello,
I have added a shell_command, this one
shell_command:
doorbell_removeold: "find /media/doorbell/* -type f -mtime +5 -exec rm {} -f \\;"
to remove old files, and last week it was working, but now it stopped working.
To be sure whitelisted external dirs
homeassistant:
media_dirs:
doorbell: /media/doorbell
whitelist_external_dirs:
- /media/doorbell/
but I didn’t think it was needed.
the command doesn’t give me an error or any kind of response while testing in dev tools.