mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
correct TC desired temp
git-svn-id: https://svn.fhem.de/fhem/trunk@3904 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a99e8a01cb
commit
519b26bd4d
@ -2694,7 +2694,7 @@ sub CUL_HM_Set($@) {
|
|||||||
if($a[$idx] !~ m/^([0-2]\d):([0-5]\d)/);
|
if($a[$idx] !~ m/^([0-2]\d):([0-5]\d)/);
|
||||||
my ($h, $m) = ($1, $2);
|
my ($h, $m) = ($1, $2);
|
||||||
my $temp = CUL_HM_convTemp($a[$idx+1]);
|
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);
|
$data .= sprintf("%02X%02X%02X%s", $addr, $h*6+($m/10), $addr+1,$temp);
|
||||||
$addr += 2;
|
$addr += 2;
|
||||||
$hash->{TEMPLIST}{$wd}{($idx-2)/2}{HOUR} = $h;
|
$hash->{TEMPLIST}{$wd}{($idx-2)/2}{HOUR} = $h;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user