diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index 4221c48..722f475 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -107,7 +107,7 @@ class Verbraucher_extern extends IPSModule foreach ($verbraucherListe as $verbraucher) { $writeVarID = $verbraucher['Write_Var']; $pNenn = $verbraucher['P_Nenn']; - $this->SetValue($writeVarID, in_array($pNenn, $kombinationen) ? 1 : 0); + $this->SetValue($writeVarID, 4); } $this->SetValue("Leistung_Delta", GetValue($this->ReadPropertyInteger("delta_power"))); }