no message

This commit is contained in:
2025-09-19 16:14:31 +02:00
parent 0da2a8d33a
commit 545f180637

View File

@@ -567,11 +567,14 @@ class Ladestation_v2 extends IPSModule
return $resultArray;
}else{
if ($is_1_ph) {
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230;
} else {
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71;
}
// Schleife wie gehabt
for ($i = (max($this->GetValue("Mindestaldestrom") + 1, 6)); $i <= $current; $i++) {
if ($is_1_ph) {
$resultArray[] = $i * 230;
} else {
$resultArray[] = $i * 400 * 1.71;
}
}
}