correct TC desired temp

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3904 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2013-09-15 08:19:53 +00:00
parent b6cd6752ea
commit 2aeffc512a

View File

@@ -2694,7 +2694,7 @@ sub CUL_HM_Set($@) {
if($a[$idx] !~ m/^([0-2]\d):([0-5]\d)/);
my ($h, $m) = ($1, $2);
my $temp = CUL_HM_convTemp($a[$idx+1]);
return $temp if($temp !~ m/Invalid/);
return $temp if($temp =~ m/Invalid/);
$data .= sprintf("%02X%02X%02X%s", $addr, $h*6+($m/10), $addr+1,$temp);
$addr += 2;
$hash->{TEMPLIST}{$wd}{($idx-2)/2}{HOUR} = $h;