mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
CUL_HM:avoid unexpected definition if devices
git-svn-id: https://svn.fhem.de/fhem/trunk@7513 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
27c4df1c13
commit
d1bdf69a13
@ -4280,11 +4280,10 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
|||||||
CUL_HM_PushCmdStack($pHash,"++${peerFlag}40$dst$peer$pc");
|
CUL_HM_PushCmdStack($pHash,"++${peerFlag}40$dst$peer$pc");
|
||||||
$snd = 1;
|
$snd = 1;
|
||||||
foreach my $pCh(grep /$peer/,@peerLchn){
|
foreach my $pCh(grep /$peer/,@peerLchn){
|
||||||
delete $modules{CUL_HM}{defptr}{$pCh}{helper}{dlvl}
|
|
||||||
if (defined $modules{CUL_HM}{defptr}{$pCh});#stop desiredLevel supervision
|
|
||||||
my $n = CUL_HM_id2Name($pCh);
|
my $n = CUL_HM_id2Name($pCh);
|
||||||
next if (!$n);
|
next if (!$n);
|
||||||
$n =~s/_chn:.*//;
|
$n =~s/_chn:.*//;
|
||||||
|
delete $defs{$n}{helper}{dlvl};#stop desiredLevel supervision
|
||||||
CUL_HM_stateUpdatDly($n,10);
|
CUL_HM_stateUpdatDly($n,10);
|
||||||
}
|
}
|
||||||
if ($rxt & 0x80){#burstConditional
|
if ($rxt & 0x80){#burstConditional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user