2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

long release bug fix

git-svn-id: https://svn.fhem.de/fhem/trunk@6448 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-08-24 09:12:46 +00:00
parent 37ee3824e0
commit 272a6be5ec

View File

@ -1718,7 +1718,7 @@ sub CUL_HM_Parse($$) {#########################################################
$shash->{BNOCNT}=0; # message counter reest
}
$shash->{BNOCNT}+=1;
$state .= "Long" .($mFlg eq "A0" ? "Release" : "").
$state .= "Long" .($mFlgH & 0x20 ? "Release" : "").
" ".$shash->{BNOCNT}."-".$mFlg.$mTp."-";
$trigType = "Long";
}
@ -2675,8 +2675,8 @@ sub CUL_HM_parseSDteam(@){#handle SD team events
push @evtEt,[$sHash,1,"smoke_detect:".$smokeSrc];
foreach (split ",",$attr{$sName}{peerIDs}){
my $tHash = CUL_HM_id2Hash($_);
push @evtEt,[$tHash,1,"state:$sProsa"];
push @evtEt,[$tHash,1,"smoke_detect:$smokeSrc"];
push @evtEt,[$tHash,1,"state:$sProsa"];
push @evtEt,[$tHash,1,"smoke_detect:$smokeSrc"];
}
}
return @entities;