更新Home Assistant

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]

#备忘手札

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注