2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

Rudis way to execute pending trigger - remove tabs

git-svn-id: https://svn.fhem.de/fhem/trunk@4250 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-11-19 13:20:19 +00:00
parent cafd297b70
commit ae38d12525
4 changed files with 4565 additions and 4566 deletions

View File

@ -1537,12 +1537,11 @@ sub CUL_HM_Parse($$) {##############################
push @event, "noReceiver:src:$src ".$mFlg.$mTp." $p" if(!@event && !@entities);
CUL_HM_UpdtReadBulk($shash,1,@event); #events to the channel
$defs{$shash->{NAME}}{EVENTS}++; # count events for channel
push @entities,$shash->{NAME};
foreach (CUL_HM_noDup(@entities)){
DoTrigger($_, undef) if ($_ ne $name);
}
return $name ;
@entities = CUL_HM_noDup(@entities,$shash->{NAME});
$defs{$_}{".noDispatchVars"} = 1 foreach (grep !/$name/,@entities);
return @entities;
}
sub CUL_HM_parseCommon(@){#####################################################
# parsing commands that are device independent