From 7e93e5ee36b6cfd1e2602c03ee8b749d886f0fda Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:51:06 +0100 Subject: [PATCH] Update homeassistant-core-install.sh --- install/homeassistant-core-install.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/install/homeassistant-core-install.sh b/install/homeassistant-core-install.sh index b54a6cba..2b26afe0 100644 --- a/install/homeassistant-core-install.sh +++ b/install/homeassistant-core-install.sh @@ -61,19 +61,15 @@ $STD apt-get install -y \ ln -sf /usr/bin/python3.13 /usr/bin/python3 msg_ok "Setup Python3" -msg_info "Installing UV" -$STD pip install uv -msg_ok "Installed UV" - msg_info "Setting up Home Assistant-Core environment" mkdir /srv/homeassistant cd /srv/homeassistant -uv venv . &>/dev/null +python3 venv . &>/dev/null source bin/activate msg_ok "Created virtual environment with UV" msg_info "Installing Home Assistant-Core and packages" -$STD uv pip install webrtcvad wheel homeassistant mysqlclient psycopg2-binary isal +$STD python3 -m pip install webrtcvad wheel homeassistant==2025.1.1 mysqlclient psycopg2-binary isal mkdir -p /root/.homeassistant msg_ok "Installed Home Assistant-Core and required packages"