add: Backup automation
This commit is contained in:
parent
85f4b717d4
commit
9e257717ca
|
|
@ -0,0 +1,10 @@
|
|||
# https://www.home-assistant.io/integrations/hassio
|
||||
description: Backup erstellen
|
||||
alias: Backup erstellen
|
||||
id: 387c728d-9a16-43fc-a438-e94c47a82106
|
||||
trigger:
|
||||
- platform: time
|
||||
at: "02:00:00"
|
||||
action:
|
||||
- service: script.create_backup
|
||||
data: {}
|
||||
|
|
@ -7,3 +7,4 @@ telegram_bot:
|
|||
allowed_chat_ids:
|
||||
- !secret telegram_dev # dev chat
|
||||
- !secret telegram_chk # christian
|
||||
parse_mode: html
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
alias: create backup
|
||||
sequence:
|
||||
- service: notify.dev_telegram
|
||||
data:
|
||||
message: >
|
||||
Home Assistant erstellt Backup_{{ now().strftime('%Y-%m-%d') }} 💾
|
||||
- service: hassio.backup_full
|
||||
data:
|
||||
name: Backup_{{ now().strftime('%Y-%m-%d') }}
|
||||
|
|
@ -5,6 +5,9 @@ sequence:
|
|||
data:
|
||||
message: test from Telegram Test1
|
||||
arget: -391668323
|
||||
- service: notify.dev_telegram
|
||||
data:
|
||||
message: test from Telegram with service "notify.dev_telegram"
|
||||
mode: single
|
||||
|
||||
# alias: Telegram Test1
|
||||
|
|
|
|||
Loading…
Reference in New Issue