Automation update Home assistant core

Works.
The problem was some lines of the bash.
I started with the empty bash file to rule out the problem and started adding de to a command.

Bash File

#!/bin/bash
cd /srv/homeassistant
. bin/activate
pip3 install --upgrade homeassistant

ShellCommand

ha_update: /home/homeassistant/.homeassistant/script/upgrade_ha.sh

@dapuzz @VDRainer thank you very much

1 Like