mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
10_CUL_HM: bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@8923 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ce86e990ab
commit
97fdb3a195
@ -1888,7 +1888,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
# a status info for chan 0 at power on
|
||||
# chn3 (virtual chan) and not used up to now
|
||||
# info from it is likely a power on!
|
||||
push @evtEt,[$shash,1,"powerOn:$tn"] if($chn eq "03");
|
||||
push @evtEt,[$devH,1,"powerOn:$tn"] if($chn eq "03");
|
||||
}
|
||||
elsif ($md eq "HM-SEC-SFA-SM"){ # && $chn eq "00")
|
||||
my $h = CUL_HM_getDeviceHash($shash);
|
||||
@ -3002,8 +3002,8 @@ sub CUL_HM_parseCommon(@){#####################################################
|
||||
if ($peerIDs =~ m/$dst/){# dst is available in the ID list
|
||||
foreach my $peer (grep /^$dst/,split(",",$peerIDs)){
|
||||
my $pName = CUL_HM_id2Name($peer);
|
||||
$pName = CUL_HM_id2Name($dst) if (!$pName || !$defs{$pName}); #$dst - device-id of $peer
|
||||
next if (!$pName || !$defs{$pName});
|
||||
$pName = CUL_HM_id2Name($dst) if (!$defs{$pName}); #$dst - device-id of $peer
|
||||
push @evtEt,[$defs{$pName},1,"trig_$cName:$level"];
|
||||
push @evtEt,[$defs{$pName},1,"trigLast:$cName".(($level ne "-")?":$level":"")];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user