Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95358

Automatic backup name

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 95358

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>