mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 02:59:22 +00:00
10_CUL_HM: improve ack for Threestate sensor with CUL
git-svn-id: https://svn.fhem.de/fhem/trunk@15422 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8825c23381
commit
90c9db7a23
@ -2746,7 +2746,10 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
$mh{shash} = $modules{CUL_HM}{defptr}{"$mh{src}$chn"}
|
||||
if($modules{CUL_HM}{defptr}{"$mh{src}$chn"});
|
||||
push @evtEt,[$mh{devH},1,"battery:". ($err?"low" :"ok" )];
|
||||
push @ack,$mh{shash},$mh{mNo}."8002".$mh{dst}.$mh{src}."00"; # additional CUL ACK
|
||||
push @ack,$mh{shash},$mh{mNo}."8002".$mh{dst}.$mh{src}."00"
|
||||
if ( $ioId eq $mh{dst}
|
||||
&& !$mh{devH}{IODev}->{helper}{VTS_ACK}
|
||||
&& $mh{devH}{IODev}->{TYPE} !~ m/^(HMLAN|HMUARTLGW)$/); #noansi: additional CUL ACK
|
||||
}
|
||||
if (defined($state)){# if state was detected post events
|
||||
my $txt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user