@ChrLipp wrote:
Hi everyone,
I tried to make an automatic backup. The only thing which doesn’t work is the name of the backup. Here my config:
- id: '1584961424173' alias: 'Service: make full backup' description: Creates a full backup on Sunday trigger: - at: 03:00:00 platform: time condition: - condition: time weekday: - sun action: - data: name: "Backup {{ now().strftime('%Y-%m-%d') }" service: hassio.snapshot_full
The name of the backups is now “
Backup {{ now().strftime('%Y-%m-%d') }
”, so the variable isn’t resolved. How can I fix this? Tried to use “data_template” instead of “data” but this didn’t work.Thanks for your help!
Posts: 3
Participants: 3