2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

check critical Reading settings from private modules

git-svn-id: https://svn.fhem.de/fhem/trunk@5710 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-05-01 09:54:52 +00:00
parent 959eb4dfa8
commit c34948de05

View File

@ -2466,6 +2466,10 @@ sub CUL_HM_pushEvnts(){########################################################
my ($h,$x) = ("","");
my @evts = ();
foreach my $e(@evtEt){
if(scalar(@{$e} != 3)){
Log 2,"CUL_HM set reading invalid:".join(",",@{$e});
next;
}
if ($h ne ${$e}[0] || $x ne ${$e}[1]){
push @ent,CUL_HM_UpdtReadBulk($h,$x,@evts);
@evts = ();