mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 06:08:44 +00:00
CUL_HM: longpress repetition
git-svn-id: https://svn.fhem.de/fhem/trunk@11046 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fb4d34cfe4
commit
2b8c74d6c9
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user