This is a quick post on how to update Home Assistant running on DietPi or any other
Debian build of Linux (e.g.
Stop Home Assistant
1 systemctl stop email@example.com
Switch to the homeassistant user context
If you installed Home Assistant using their installation method chances are you would have installed HASS under a new user context called
homeassistant, the below commands will switch you into that context in order to perform the upgrade.
1 2 sudo su homeassistant -s /bin/bash source /srv/homeassistant/bin/activate
Upgrade Home Assistant
1 pip3 install --upgrade homeassistant
Exiting the homeassistant context
To switch back to your original user context run the below command.
Starting Home Assistant
1 systemctl start firstname.lastname@example.org
All Done :)
That’s it - you can now enjoy the latest features!
As always comments / feedback is always welcome.
Comments powered by Disqus.