2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

10_CUL_HM: bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@8932 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-07-11 07:05:52 +00:00
parent 792bb6f454
commit 959b4ab0ba

View File

@ -7666,8 +7666,8 @@ sub CUL_HM_unQEntity($$){# remove entity from q
@chns = grep !/00/,@chns;#remove device as well - just in case
$dq->{$q} = join",",@chns;
}
$q = $q."Wu" if (CUL_HM_getRxType($defs{$name}) & 0x1C);
my $mQ = $modules{CUL_HM}{helper}{$q};
my $cq = $q."Wu" if (CUL_HM_getRxType($defs{$name}) & 0x1C);
my $mQ = $modules{CUL_HM}{helper}{$cq};
return if(!$mQ || scalar(@{$mQ}) == 0);
@{$mQ} = grep !/^$devN$/,@{$mQ} if ($dq->{$q} eq "");
}