no message

This commit is contained in:
2025-05-02 14:47:03 +02:00
parent 8966aab563
commit c6760b1ced

View File

@@ -71,7 +71,7 @@ class Verbraucher_extern extends IPSModule
$kombinationen = [0];
foreach ($verbraucherListe as $verbraucher) {
if (GetValue($verbraucher['Read_Var']) == 1) {
if (GetValue($verbraucher['Read_Var']) == true) {
$tempListe = [];
if(empty($kombinationen)){
$kombinationen[] = $verbraucher['P_Nenn'];
@@ -116,9 +116,9 @@ class Verbraucher_extern extends IPSModule
foreach ($verbraucherListe as &$verbraucher) {
if (in_array($verbraucher['P_Nenn'], $firstCombination)) {
RequestAction($verbraucher['Write_Var'], 1);
RequestAction($verbraucher['Write_Var'], false);
} else {
RequestAction($verbraucher['Write_Var'], 0);
RequestAction($verbraucher['Write_Var'], true);
}
}