no message
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user