Update homeassistant-core-v5-install.sh

HA team fixed dependency issues. Remove temp fix
This commit is contained in:
tteckster 2023-01-04 17:39:24 -05:00 committed by GitHub
parent 3582365ced
commit 43022d00b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,10 +148,6 @@ $STD pip install psycopg2-binary
$STD pip install homeassistant $STD pip install homeassistant
msg_ok "Installed Home Assistant-Core" msg_ok "Installed Home Assistant-Core"
# fix for inconsistent versions, hopefully the HA team will get this fixed
sed -i '{s/dbus-fast==1.75.0/dbus-fast==1.83.1/g; s/bleak==0.19.2/bleak==0.19.5/g}' /srv/homeassistant/lib/python3.10/site-packages/homeassistant/package_constraints.txt
sed -i '{s/dbus-fast==1.75.0/dbus-fast==1.83.1/g; s/bleak==0.19.2/bleak==0.19.5/g}' /srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/bluetooth/manifest.json
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/homeassistant.service cat <<EOF >/etc/systemd/system/homeassistant.service
[Unit] [Unit]