no message

This commit is contained in:
dh
2025-07-03 11:32:14 +02:00
parent 4672789043
commit 0a60647df0
+2 -2
View File
@@ -414,10 +414,10 @@ class Ladestation_v2 extends IPSModule
{ {
$maxCurrent = 32; $maxCurrent = 32;
if($is_1_ph){ if($is_1_ph){
$maxCurrent = 1.5 + ($this->GetValue("Ladeleistung_Effektiv") / 230); $maxCurrent = 2.5 + ($this->GetValue("Ladeleistung_Effektiv") / 230);
} }
else{ else{
$maxCurrent = 1.5 + ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400)); $maxCurrent = 2.5 + ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400));
} }
if($maxCurrent>$this->ReadPropertyInteger("Max_Current_abs")){ if($maxCurrent>$this->ReadPropertyInteger("Max_Current_abs")){
$maxCurrent = $this->ReadPropertyInteger("Max_Current_abs"); $maxCurrent = $this->ReadPropertyInteger("Max_Current_abs");