- 於HACS-intergation-Custom repositories 內貼上Delete連結及選擇intergation後, 將出現delete插件, 點擊安裝完插件後, 重啟HA
https://github.com/chomupashchuk/delete-file-home-assistant
- 在configuration.yaml內新增如下後, 重啟HA
delete:
自動化:
alias: 04定期幫你刪除
description: ''
trigger:
- platform: time
at: '04:00:00'
condition: []
service: delete.files_in_folder
data:
folder: '/config/image_snapshot/'
time: 1