no message

This commit is contained in:
2025-09-19 16:08:04 +02:00
parent 1777fdfdf5
commit 0da2a8d33a

View File

@@ -563,13 +563,15 @@ class Ladestation_v2 extends IPSModule
// Timer an
if ($power === 0) {
// power == 0: nur eine 0 zurückgeben
$resultArray[] = 0;
return $resultArray;
}else{
if ($is_1_ph) {
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230;
} else {
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71;
}
return $resultArray;
}