10CUL_HM: bugfix undefiend hash
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9147 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -7528,7 +7528,7 @@ sub CUL_HM_ActInfo() {# print detailed status information
|
|||||||
#+++++++++++++++++ helper +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
#+++++++++++++++++ helper +++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
sub CUL_HM_UpdtReadBulk(@) { #update a bunch of readings and trigger the events
|
sub CUL_HM_UpdtReadBulk(@) { #update a bunch of readings and trigger the events
|
||||||
my ($hash,$doTrg,@readings) = @_;
|
my ($hash,$doTrg,@readings) = @_;
|
||||||
return if (!@readings);
|
return if (!@readings ||!defined $hash|| !defined $hash->{NAME} );
|
||||||
if($evtDly && $doTrg){#delay trigger if in parser and trigger ist requested
|
if($evtDly && $doTrg){#delay trigger if in parser and trigger ist requested
|
||||||
push @evtEt,[$hash,1,"$_"] foreach(@readings);
|
push @evtEt,[$hash,1,"$_"] foreach(@readings);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user