Hello,
I’m new on HA. I try to make a backup script. If I run from ssh, works perfect and now I try to make a cron automation.
I check time trigger and shell command then I write this automation YAML:
alias: backup
description: backup
trigger:
- platform: time
at: "03:30:00"
condition: []
action:
service: shell_command.uploadbackup
mode: single
shell_command:
uploadbackup: bash /config/shell/upload_backup.sh
When I save, I receive Message malformed: extra keys not allowed @ data[‘shell_command’]
Can anybody help me, please?
Thank you!