10_CUL_HM: remove notify issue
git-svn-id: https://svn.fhem.de/fhem/trunk@8748 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -936,10 +936,11 @@ sub CUL_HM_Notify(@){#################################
|
||||
return "" if ($dev->{NAME} ne "global");
|
||||
|
||||
my $events = deviceEvents($dev, AttrVal($ntfy->{NAME}, "addStateEvent", 0));
|
||||
return if(!$events); # Some previous notify deleted the array.
|
||||
return "" if (grep !/INITIALIZED/,@{$events});
|
||||
return undef if(!$events); # Some previous notify deleted the array.
|
||||
return undef if (grep !/INITIALIZED/,@{$events});
|
||||
delete $modules{CUL_HM}{NotifyFn};
|
||||
CUL_HM_updateConfig("startUp");
|
||||
return undef;
|
||||
}
|
||||
|
||||
#+++++++++++++++++ msg receive, parsing++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Reference in New Issue
Block a user