2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

RT bug fix

git-svn-id: https://svn.fhem.de/fhem/trunk@6297 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-07-22 09:07:28 +00:00
parent 9217f67b09
commit c23234090f

View File

@ -977,8 +977,8 @@ sub CUL_HM_Parse($$) {#########################################################
#----------start valid messages parsing ---------
my $parse = CUL_HM_parseCommon($iohash,$mNo,$mFlg,$mTp,$src,$dst,$p,$st,$md);
push @evtEt,[$shash,1,"powerOn:-"] if($parse eq "powerOn");
push @evtEt,[$shash,1,""] if($parse eq "parsed"); # msg is parsed but may
push @evtEt,[$shash,1,"powerOn:$tn"] if($parse eq "powerOn");
push @evtEt,[$shash,1,""] if($parse eq "parsed"); # msg is parsed but may
# be processed further
if ($parse eq "ACK" ||
$parse eq "done" ){# remember - ACKinfo will be passed on
@ -1191,7 +1191,7 @@ sub CUL_HM_Parse($$) {#########################################################
}
else{
$chn = $mI[1];
$setTemp = ($setTemp >> 8);
$setTemp = ($setTemp );
$err = ($err >> 1);
$shash = $modules{CUL_HM}{defptr}{"$src$chn"} if($modules{CUL_HM}{defptr}{"$src$chn"});
$actTemp = ReadingsVal($name,"measured-temp","");
@ -2140,7 +2140,6 @@ sub CUL_HM_Parse($$) {#########################################################
if(!@entities && !@evtEt);
push @entities,CUL_HM_pushEvnts();
@entities = CUL_HM_noDup(@entities,$shash->{NAME});
$defs{$_}{".noDispatchVars"} = 1 foreach (grep !/^$devH->{NAME}$/,@entities);
return @entities;