Anpassungen am Ladetaions-Verbraucher Bugfixes wenn ladung nciht mehr startete
This commit is contained in:
@@ -204,6 +204,7 @@ class Ladestation_v2 extends IPSModule
|
||||
|
||||
}else{
|
||||
$this->SetValue("Car_detected", false);
|
||||
$this->SetValue("Pending_Counter", 0);
|
||||
$this->SetValue("Leistung_Delta", 0);
|
||||
$this->SetValue("Car_is_full", false);
|
||||
$this->ResetTimer();
|
||||
@@ -698,7 +699,7 @@ class Ladestation_v2 extends IPSModule
|
||||
$powerSteps = [];
|
||||
|
||||
// Konfiguration des powerSteps-Arrays basierend auf den Properties
|
||||
if (!$ladebereit) {
|
||||
if (!$ladebereit || $this->GetValue("Car_is_full")) {
|
||||
$powerSteps = [0];
|
||||
} elseif (!$Peak && !$solarladen) {
|
||||
$powerSteps = [max($this->Get_Array_From_Current($this->GetValue("Is_1_ph"),$this->GetValue("Max_Current"), $this->GetValue("Aktuelle_Leistung"), $this->GetValue("IsTimerActive_Null_Timer")))];
|
||||
|
||||
Reference in New Issue
Block a user