no message

This commit is contained in:
dh
2025-09-19 16:14:31 +02:00
parent 0da2a8d33a
commit 545f180637
+8 -5
View File
@@ -567,11 +567,14 @@ class Ladestation_v2 extends IPSModule
return $resultArray; return $resultArray;
}else{ }else{
if ($is_1_ph) { // Schleife wie gehabt
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230; for ($i = (max($this->GetValue("Mindestaldestrom") + 1, 6)); $i <= $current; $i++) {
} else { if ($is_1_ph) {
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71; $resultArray[] = $i * 230;
} } else {
$resultArray[] = $i * 400 * 1.71;
}
}
} }