From 644670adb2af0658ecaa7bc780177b402d926515 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 16 Jun 2026 10:57:40 +0200 Subject: [PATCH] no message --- Energy_Pie/module.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Energy_Pie/module.html b/Energy_Pie/module.html index 0b7061c..ea316f5 100644 --- a/Energy_Pie/module.html +++ b/Energy_Pie/module.html @@ -193,9 +193,9 @@ function render(data){ `; }; - const prod = v.Produktion || 0; - const grid = v.Netz || 0; - const feed = v.Einspeisung || 0; + const prod = Number(v.Produktion) || 0; + const cons = Number(v.Hausverbrauch) || 0; + const grid = Number(v.Netz) || 0; const eigen = Math.max(cons - grid, 0); elGrid.innerHTML =