From 398f23c0b4d567070f56d3b692c9475954578fbd Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 28 Dec 2022 15:49:57 -0500 Subject: [PATCH] Update homeassistant-core-install.sh fix dependency versions for beta --- setup/homeassistant-core-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/homeassistant-core-install.sh b/setup/homeassistant-core-install.sh index b54381c2..d704fca5 100644 --- a/setup/homeassistant-core-install.sh +++ b/setup/homeassistant-core-install.sh @@ -155,8 +155,13 @@ pip install ${BR}homeassistant &>/dev/null msg_ok "Installed Home Assistant-Core" # fix for inconsistent versions, hopefully the HA team will get this fixed +if [ "${BR}" == "--pre " ]; then +sed -i "s/dbus-fast==1.82.0/dbus-fast==1.83.1/g" /srv/homeassistant/lib/python3.10/site-packages/homeassistant/package_constraints.txt +sed -i "s/dbus-fast==1.82.0/dbus-fast==1.83.1/g" /srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/bluetooth/manifest.json +else sed -i "s/dbus-fast==1.75.0/dbus-fast==1.83.1/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" /srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/bluetooth/manifest.json +fi sed -i "s/bleak==0.19.2/bleak==0.19.5/g" /srv/homeassistant/lib/python3.10/site-packages/homeassistant/package_constraints.txt sed -i "s/bleak==0.19.2/bleak==0.19.5/g" /srv/homeassistant/lib/python3.10/site-packages/homeassistant/components/bluetooth/manifest.json