How to upate Home Assistant Core?


Here are the steps to update HA in a venv (old but I think they are still valid):

$ sudo systemctl stop home-assistant@homeassistant.service 
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ deactivate
$ sudo systemctl start home-assistant@homeassistant.service

If necessary change the user “homeassistant” in the second line to whatever user you used to install HA.