no message
This commit is contained in:
@@ -117,13 +117,15 @@ class Ladestation_v2 extends IPSModule
|
||||
$this->SetValue("Pending_Counter", 0);
|
||||
if($this->GetValue("Ladeleistung_Effektiv")>7500){
|
||||
$this->SetValue("Is_1_ph", false);
|
||||
|
||||
$this->Calc_Max_Current(false);
|
||||
|
||||
}
|
||||
else{
|
||||
$this->SetValue("Is_1_ph", true);
|
||||
$this->Calc_Max_Current(true);
|
||||
|
||||
}
|
||||
|
||||
$this->Calc_Max_Current($this->GetValue("Is_1_ph"));
|
||||
$this->SetValue("Car_Detected", true);
|
||||
|
||||
|
||||
@@ -353,7 +355,7 @@ class Ladestation_v2 extends IPSModule
|
||||
|
||||
}
|
||||
|
||||
if($counter>(20/($this->ReadPropertyInteger("Interval")*1000))){
|
||||
if($counter>(20/($this->ReadPropertyInteger("Interval")))){
|
||||
|
||||
$this->SetValue("Pending_Counter", 0);
|
||||
$this->Calc_Max_Current($this->GetValue("Is_1_ph"));
|
||||
|
||||
Reference in New Issue
Block a user