no message
This commit is contained in:
@@ -185,6 +185,14 @@ class Bat_EV_SDL_V4 extends IPSModule
|
|||||||
"SDL_W" => round((float)GetValue($this->GetIDForIdent("Aktuelle_Leistung_SDL")), 0)
|
"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);
|
$calcRounded = $this->RoundArray($calc, 3);
|
||||||
$this->SetIdentValue("CalcJSON", json_encode($calcRounded, JSON_PRETTY_PRINT));
|
$this->SetIdentValue("CalcJSON", json_encode($calcRounded, JSON_PRETTY_PRINT));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user