From 50f9af291b00048bafa5653979439add83163654 Mon Sep 17 00:00:00 2001 From: Fredrik Lindqvist Date: Wed, 1 Mar 2017 17:39:45 +0100 Subject: [PATCH] Re-add updating Home Assistant instructions Updating Home Assistant instructions got lost with the reworked guides. --- source/_docs/hassbian/upgrading.markdown | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/source/_docs/hassbian/upgrading.markdown b/source/_docs/hassbian/upgrading.markdown index 43e356c02bf..887386d49df 100644 --- a/source/_docs/hassbian/upgrading.markdown +++ b/source/_docs/hassbian/upgrading.markdown @@ -15,10 +15,22 @@ Log in as the `pi` account and execute the following commands: ```bash $ sudo apt-get update -$ sudo apt-get upgrade +$ sudo apt-get -y upgrade ``` -Press `Y` to confirm that you would like to continue. + +#### {% linkable_title Updating Home Assistant %} + +To update the Home Assistant installation execute the following command as the `pi` user. + +```bash +$ sudo systemctl stop homeassistant@homeassistant.service +$ sudo su -s /bin/bash homeassistant +$ source /srv/homeassistant/bin/activate +$ pip3 install --upgrade homeassistant +$ exit +$ sudo systemctl start homeassistant@homeassistant.service +``` #### {% linkable_title Upgrading the hassbian-scripts %}