mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 02:59:22 +00:00
supress statusRequest for conditional trigger
git-svn-id: https://svn.fhem.de/fhem/trunk@6201 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47c2daceda
commit
acdc985f89
@ -1492,7 +1492,10 @@ sub CUL_HM_Parse($$) {#########################################################
|
|||||||
}
|
}
|
||||||
else{ #invalid PhysLevel
|
else{ #invalid PhysLevel
|
||||||
$rSUpdt = 1;
|
$rSUpdt = 1;
|
||||||
CUL_HM_stateUpdatDly($name,5); # update to get level
|
# CUL_HM_stateUpdatDly($name,5); # update to get level
|
||||||
|
# we have to relay on device. Ack may come from a conditional event (BM)
|
||||||
|
# if condition is not met device will not send status.
|
||||||
|
# We need to avoid regular requests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2471,7 +2474,7 @@ sub CUL_HM_parseCommon(@){#####################################################
|
|||||||
push @evtEt,[$defs{$pName},1,"trig_$cName:$level"];
|
push @evtEt,[$defs{$pName},1,"trig_$cName:$level"];
|
||||||
push @evtEt,[$defs{$pName},1,"trigLast:$cName ".(($level ne "-")?":$level":"")];
|
push @evtEt,[$defs{$pName},1,"trigLast:$cName ".(($level ne "-")?":$level":"")];
|
||||||
|
|
||||||
CUL_HM_stateUpdatDly($pName,10) if($mTp eq "40");
|
CUL_HM_stateUpdatDly($pName,10) if ($mTp eq "40");#conditional request may not deliver state-req
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user