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");