From a99e8a01cba097614d04336efd7865f75c3f3143 Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sun, 15 Sep 2013 08:18:04 +0000 Subject: [PATCH] correct TC desired temp git-svn-id: https://svn.fhem.de/fhem/trunk@3903 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_CUL_HM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index 5646df84d..ee8b819f3 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -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","");