no message
This commit is contained in:
@@ -68,13 +68,12 @@ class Bat_EV_SDL_V4 extends IPSModule
|
||||
|
||||
$this->BuildBatteryPlan(true);
|
||||
|
||||
// Kein automatischer Reset der virtuellen Konten bei ApplyChanges.
|
||||
// Nur Initialisierung von Zeitstempel/Init-Flag, falls noch nie vorhanden.
|
||||
if ($this->GetBufferSafe("Int_Init") !== "1") {
|
||||
// Kein Reset bei ApplyChanges.
|
||||
// Nur Zeitstempel setzen, falls noch keiner vorhanden ist.
|
||||
if ($this->GetBufferSafe("Int_LastTs") === "") {
|
||||
$this->SetBuffer("Int_LastTs", (string)microtime(true));
|
||||
$this->SetBuffer("Int_Init", "1");
|
||||
}
|
||||
|
||||
|
||||
$this->Update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user