diff --git a/haos-addon/config.yaml b/haos-addon/config.yaml
index bdf41ab..9bc5cdd 100644
--- a/haos-addon/config.yaml
+++ b/haos-addon/config.yaml
@@ -1,5 +1,5 @@
name: ShineBridge
-version: "1.6.2"
+version: "1.6.3"
slug: shinebridge
description: Growatt Wechselrichter lokal in Home Assistant — Modbus TCP via ShineLAN-X, MQTT Discovery, Web UI
url: https://gitea.bitfire.work/retr0/shinebridge
diff --git a/haos-addon/src/web/index.html b/haos-addon/src/web/index.html
index 43a275d..ddeba53 100644
--- a/haos-addon/src/web/index.html
+++ b/haos-addon/src/web/index.html
@@ -377,7 +377,7 @@ function renderEnergy(inverters, aggregates) {
const gridImport = Math.max(0, gridW);
const gridExport = Math.max(0, -gridW);
const houseW = Math.max(0, pvW + gridImport + batDchW - batChW - evW);
- const hasBat = batSoc !== undefined && batSoc !== null;
+ const hasBat = Object.keys(aggregates).some(k => k.startsWith('bat_'));
const T = 20;
const pvOn = pvW > T;
@@ -404,7 +404,7 @@ function renderEnergy(inverters, aggregates) {
const ICONS = {
solar:`
`,
- grid: ``,
+ grid: ``,
house:`
`,
@@ -470,7 +470,7 @@ function renderEnergy(inverters, aggregates) {
const gridVal = impOn ? gridImport : gridExport;
const batVal = chOn ? batChW : dchOn ? batDchW : 0;
const batLbl = chOn ? 'LADEN' : dchOn ? 'ENTLADEN' : 'BATTERIE';
- const batSub = hasBat ? Math.round(batSoc) + '%' : '';
+ const batSub = batSoc != null ? Math.round(batSoc) + '%' : '';
const svg = `