tc reading duplication

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6220 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-07-08 14:28:30 +00:00
parent e16b464f2a
commit a79d5eb489

View File

@@ -6052,8 +6052,12 @@ sub CUL_HM_TCtempReadings($) {# parse TC temperature readings
$varV =~ s/^R-$var:// ;
}
push @histVals,"$var:$varV";
Log 1,"General update $name:$var:$varV ";
}
if (@histVals){
CUL_HM_UpdtReadBulk($hash,1,@histVals) ;
CUL_HM_UpdtReadBulk(CUL_HM_getDeviceHash($hash),1,@histVals);
}
CUL_HM_UpdtReadBulk(CUL_HM_getDeviceHash($hash),1,@histVals) if (@histVals);
}
return $setting;
}