mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
10_CUL_HM: remove reading update for unknown devices
git-svn-id: https://svn.fhem.de/fhem/trunk@8484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d3c240ed21
commit
d34b2ad6f8
@ -1039,7 +1039,8 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
my $chn = hex($mI[0])& 0x3f;
|
||||
my $cName = CUL_HM_id2Name($src.sprintf("%02X",$chn));
|
||||
my $bCnt = hex($mI[1]);
|
||||
push @evtEt,[$defs{$cName},1,"trig_aes_$dname:$aesStat:$bCnt"];
|
||||
push @evtEt,[$defs{$cName},1,"trig_aes_$dname:$aesStat:$bCnt"]
|
||||
if (defined $defs{$cName});
|
||||
|
||||
if($aesStat eq "ok" #aes ok
|
||||
&& defined $devH->{cmdStacAESPend} #commands waiting
|
||||
@ -2978,6 +2979,7 @@ sub CUL_HM_updtSDTeam(@){#in: TeamName, optional caller name and its new state
|
||||
sub CUL_HM_pushEvnts(){########################################################
|
||||
#write events to Readings and collect touched devices
|
||||
my @ent = ();
|
||||
if (scalar(@evtEt) > 0){
|
||||
@evtEt = sort {($a->[0] cmp $b->[0])|| ($a->[1] cmp $b->[1])} @evtEt;
|
||||
$evtDly = 0;# switch delay trigger off
|
||||
my ($h,$x) = ("","");
|
||||
@ -2996,6 +2998,8 @@ sub CUL_HM_pushEvnts(){########################################################
|
||||
}
|
||||
@evtEt = ();
|
||||
push @ent,CUL_HM_UpdtReadBulk($h,$x,@evts);
|
||||
}
|
||||
|
||||
return @ent;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user