Fix: Update Python for HomeAssistant (#1227)

* Python Check: HA-Core

* Update Python to 3.13.X

* Update homeassistant-core.sh
This commit is contained in:
CanbiZ
2025-01-04 11:15:14 +01:00
committed by GitHub
parent 9f2ae06726
commit 9fd4a13a8a
2 changed files with 4 additions and 2 deletions

View File

@ -51,7 +51,9 @@ function update_script() {
echo -e "${GN}Updating to Stable Version${CL}"
BR=""
fi
if [[ "$PY" == "python3.11" ]]; then echo -e "⚠️ Home Assistant will soon require Python 3.12."; fi
if [[ "$PY" =~ ^python3\.(11|12)\.[0-9]+$ ]]; then
echo -e "⚠️ Home Assistant will soon require Python 3.13.x";
fi
msg_info "Stopping Home Assistant"
systemctl stop homeassistant