Do not trigger notifyFn by own setFn

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3101 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-04-22 18:26:29 +00:00
parent b6b431ce2b
commit f96fce49a7

View File

@@ -134,6 +134,8 @@ sub structure_Notify($$)
return "" if (!@structPrio && $behavior eq "relative"); return "" if (!@structPrio && $behavior eq "relative");
return "" if($hash->{INSET}); # Do not trigger for our own set
if($hash->{INNTFY}) { if($hash->{INNTFY}) {
Log 1, "ERROR: endless loop detected in structure_Notify $me"; Log 1, "ERROR: endless loop detected in structure_Notify $me";
return ""; return "";