Hi im on Ha 0.97.2 on Raspberry with hassio
I tried to make a simple script that calls a shell command service to restart the Raspberry
I write in path \home assistant\shell_command\shell_command.yaml the:
rebootpi:‘ssh pi@xxxxx sudo reboot’
i make a script \home assistant\scripts\reboot pi.yaml to call the service:
reboot_pi:
alias: Reboot the Pi
sequence:
- data: {}
service: shell_command.rebootpi
also i included on confiquratior file without errors on check file :