From 2b8c74d6c9d77b20a4acc019c9bcb00c680e1efb Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sat, 12 Mar 2016 10:05:53 +0000 Subject: [PATCH] CUL_HM: longpress repetition git-svn-id: https://svn.fhem.de/fhem/trunk@11046 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_CUL_HM.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fhem/FHEM/10_CUL_HM.pm b/fhem/FHEM/10_CUL_HM.pm index fc126ab10..3dc5864e6 100755 --- a/fhem/FHEM/10_CUL_HM.pm +++ b/fhem/FHEM/10_CUL_HM.pm @@ -2128,7 +2128,6 @@ sub CUL_HM_Parse($$) {######################################################### } } } - elsif($mh{st} eq "powerSensor") {############################################ if (($mh{mTyp} eq "0201") || # handle Ack_Status ($mh{mTyp} eq "1006")) { # or Info_Status message here @@ -3124,7 +3123,7 @@ sub CUL_HM_parseCommon(@){##################################################### $level = $long; my $state = ucfirst($long); - if(!$mhp->{cHash}{helper}{BNO} || $mhp->{cHash}{helper}{BNO} ne $cnt){#cnt = event counter + if(!defined $mhp->{cHash}{helper}{BNO} || $mhp->{cHash}{helper}{BNO} ne $cnt){#cnt = event counter $mhp->{cHash}{helper}{BNO} = $cnt; $mhp->{cHash}{helper}{BNOCNT} = 0; # message counter reset }