no message

This commit is contained in:
2026-05-28 11:18:00 +02:00
parent bdc9891ee3
commit 67fdac3cc4
+8
View File
@@ -185,6 +185,14 @@ class Bat_EV_SDL_V4 extends IPSModule
"SDL_W" => round((float)GetValue($this->GetIDForIdent("Aktuelle_Leistung_SDL")), 0)
];
// Nur für Anzeige entfernen, nicht aus dem echten Plan.
foreach ($calc["bats"] as &$bat) {
unset($bat["sdlShareKW_laden"]);
unset($bat["sdlShareKW_entladen"]);
unset($bat["evShareKW_laden"]);
unset($bat["evShareKW_entladen"]);
}
unset($bat);
$calcRounded = $this->RoundArray($calc, 3);
$this->SetIdentValue("CalcJSON", json_encode($calcRounded, JSON_PRETTY_PRINT));