From 6bcf91b3613f28a16c9aa431d44e8ccc807af577 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 1 Sep 2026 01:34:09 +0200 Subject: [PATCH 1/2] Keep the config directory out of sys.path in the container (#180967) --- rootfs/etc/services.d/home-assistant/run | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/services.d/home-assistant/run b/rootfs/etc/services.d/home-assistant/run index 950c6a6250e39d..34e5bd6acd04ee 100755 --- a/rootfs/etc/services.d/home-assistant/run +++ b/rootfs/etc/services.d/home-assistant/run @@ -15,4 +15,5 @@ if [[ -n "${DISABLE_JEMALLOC+x}" ]]; then bashio::log.warning "DISABLE_JEMALLOC is set but no longer has any effect: jemalloc has been replaced by mimalloc. Set PYTHONMALLOC=pymalloc to use the default allocator instead." fi -exec python3 -m homeassistant --config /config +# -P keeps the working directory out of sys.path, so /config cannot shadow imports. +exec python3 -P -m homeassistant --config /config From e4b01b65d306cf4ffcd692b9eb7c7d2ce4f794e4 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 1 Sep 2026 03:37:30 +0200 Subject: [PATCH 2/2] Bump ha-iotawattpy to 0.3.0 (#180969) --- homeassistant/components/iotawatt/manifest.json | 2 +- requirements_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/iotawatt/manifest.json b/homeassistant/components/iotawatt/manifest.json index 4b8d5b97539a0b..4124a03501f691 100644 --- a/homeassistant/components/iotawatt/manifest.json +++ b/homeassistant/components/iotawatt/manifest.json @@ -7,5 +7,5 @@ "integration_type": "device", "iot_class": "local_polling", "loggers": ["iotawattpy"], - "requirements": ["ha-iotawattpy==0.2.1"] + "requirements": ["ha-iotawattpy==0.3.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index f60c6f1e3c3762..a022c7ffbdbbcd 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1235,7 +1235,7 @@ h2==4.3.0 ha-ffmpeg==3.2.2 # homeassistant.components.iotawatt -ha-iotawattpy==0.2.1 +ha-iotawattpy==0.3.0 # homeassistant.components.philips_js ha-philipsjs==3.2.5