ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package home-assistant-frontend==20191119.6: Exception
也就是無法安裝版本爲20191119.6的home-assistant-frontend組件,解決辦法就是手動安裝。
Putty登陸到你的Hass主機,然後依次運行以下命令:
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install home-assistant-frontend==20191119.6 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
等到安裝完之後之後
exit
最後重啓homeassistant就可以了。
如果系統log中有其他缺失組件的報錯,也可以用此方法來試着修復,但此方法只適用於基於命令安裝的home-assistant,不適用於hassio等其他系統。