correct TC desired temp

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3903 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-09-15 08:18:04 +00:00
parent 77fa5a5384
commit b44c495212

View File

@ -2667,7 +2667,7 @@ sub CUL_HM_Set($@) {
}
elsif($cmd eq "desired-temp") { #############################################
my $temp = CUL_HM_convTemp($a[2]);
return $temp if($temp !~ m/Invalid/);
return $temp if($temp =~ m/Invalid/);
CUL_HM_PushCmdStack($hash,'++'.$flag.'11'.$id.$dst.'0202'.$temp);
my $chnHash = CUL_HM_id2Hash($dst."02");
my $mode = ReadingsVal($chnHash->{NAME},"R-controlMode","");