1,停止运行HA
1
|
sudo systemctl stop [email protected]
|
2,切换用户
1
|
sudo su -s /bin/bash homeassistant
|
3,进环境
1
|
source /srv/homeassistant/bin/activate
|
4,更新
1
|
pip3 install –upgrade homeassistant
|
5,退出
6,运行HA
1
|
sudo systemctl start [email protected]
|
#备忘手札