From 999012e617a857a31b8a3d0718ed3b8f311d3584 Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Sun, 20 Aug 2023 19:31:44 -0400 Subject: [PATCH] Update automation service trigger & mode --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5db684..f8f5974 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Default to false. Is set to true, will download the s3 content inside the backup Call this addon from your backup automations to trigger it : ```yaml -- alias: Snapshot Once A Week +- alias: Backup Once A Week trigger: - platform: time at: '10:00:00' @@ -112,7 +112,7 @@ Call this addon from your backup automations to trigger it : weekday: - wed action: - - service: hassio.snapshot_full + - service: hassio.backup_full data_template: name: > weekly_backup_{{ now().strftime('%Y-%m-%d') }} @@ -120,7 +120,8 @@ Call this addon from your backup automations to trigger it : - delay: '00:10:00' - service: hassio.addon_start data: - addon: "3cfc8f0f_hass_backup_s3" + addon: 3cfc8f0f_hass_backup_s3 + mode: single ``` The service *hassio.addon_start* needs the addon slug to work. This is a concatenation of the first 8 char SHA1 hash of the repo url (lowercased) and the addon slug. If I ommit to update this part, you can check by yourself the hash part by taking the first 8 char of the hash here http://www.sha1-online.com/ filling "https://github.com/rbillon59/home-assistant-addons" in the form. It should not happen as the addons repository URL should not change. But in case of ..