no message

This commit is contained in:
dh
2025-04-08 13:53:11 +02:00
parent db6cadc084
commit a2b012904e
+2 -2
View File
@@ -269,10 +269,10 @@ class Ladestation_v2 extends IPSModule
{ {
$maxCurrent = 32; $maxCurrent = 32;
if($is_1_ph){ if($is_1_ph){
$maxCurrent = (1.5 * 230) + ($this->GetValue("Ladeleistung_Effektiv") / 230); $maxCurrent = 1.5 + ($this->GetValue("Ladeleistung_Effektiv") / 230);
} }
else{ else{
$maxCurrent = (1.5 * 400) + ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400)); $maxCurrent = 1.5 + ($this->GetValue("Ladeleistung_Effektiv") / (1.71*400));
} }
if($maxCurrent>32){ if($maxCurrent>32){
$maxCurrent = 32; $maxCurrent = 32;