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 =