2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-10 08:04:00 +00:00

CUL_HM:remove supervision after press kommand

git-svn-id: https://svn.fhem.de/fhem/trunk@7469 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-01-07 16:31:01 +00:00
parent be1a8fc935
commit 2a25cbca74

View File

@ -922,7 +922,7 @@ sub CUL_HM_Parse($$) {#########################################################
return "" if($msgStat && $msgStat eq 'NACK');# lowlevel error
# $shash will be replaced for multichannel commands
my $shash = CUL_HM_id2Hash($src); #sourcehash - will be modified to channel entity
my $devH = $shash; # source device hash
my $devH = $shash; # source device hash
my $dstH = CUL_HM_id2Hash($dst); # destination device hash
my $id = CUL_HM_h2IoId($iohash);
my $ioName = $iohash->{NAME};
@ -4278,6 +4278,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
CUL_HM_PushCmdStack($pHash,"++${peerFlag}40$dst$peer$pc");
$snd = 1;
foreach my $pCh(grep /$peer/,@peerLchn){
delete $modules{CUL_HM}{defptr}{$pCh}{helper}{dlvl};#stop desiredLevel supervision
my $n = CUL_HM_id2Name($pCh);
$n =~s/_chn:.*//;
CUL_HM_stateUpdatDly($n,10);