no message
This commit is contained in:
@@ -563,13 +563,15 @@ class Ladestation_v2 extends IPSModule
|
|||||||
// Timer an
|
// Timer an
|
||||||
if ($power === 0) {
|
if ($power === 0) {
|
||||||
// power == 0: nur eine 0 zurückgeben
|
// power == 0: nur eine 0 zurückgeben
|
||||||
|
$resultArray[] = 0;
|
||||||
|
return $resultArray;
|
||||||
|
|
||||||
|
}else{
|
||||||
if ($is_1_ph) {
|
if ($is_1_ph) {
|
||||||
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230;
|
$resultArray[] = $this->GetValue("Mindestaldestrom") * 230;
|
||||||
} else {
|
} else {
|
||||||
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71;
|
$resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71;
|
||||||
}
|
}
|
||||||
return $resultArray;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user