From 060ca875e7e49ed991f596a4e78e8cc6b83576b1 Mon Sep 17 00:00:00 2001 From: martinp876 Date: Tue, 10 Sep 2013 06:16:04 +0000 Subject: [PATCH] bugfix git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3888 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 cd6d20318..a86146b9a 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -3230,7 +3230,7 @@ sub CUL_HM_responseSetup($$) {#store all we need to handle the response CUL_HM_qStateUpdatIfEnab($dst); } if ($mTp eq "11" && $p =~ m/02..(..)....(....)/){#lvl ne 0 and timer on - $hash->{helper}{tmdOn} = $2 if ($1 ne "00" && $2 != m/(0000|FFFF)/); + $hash->{helper}{tmdOn} = $2 if ($1 ne "00" && $2 !~ m/(0000|FFFF)/); } CUL_HM_respWaitSu ($hash,"cmd:$cmd","mNo:$mNo","reSent:1");