2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

support lacyConfig and wake for one device

git-svn-id: https://svn.fhem.de/fhem/trunk@6476 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-08-28 07:04:12 +00:00
parent ad1908a7f3
commit 378b65a186

View File

@ -2248,7 +2248,7 @@ sub CUL_HM_parseCommon(@){#####################################################
$shash->{helper}{prt}{sleeping} = 1 if($mFlgH & 0x20) ;
}
}
elsif($rxt & 0x10){ # lazy config
if($rxt & 0x10 && $shash->{helper}{prt}{sleeping}){ # lazy config
if($mFlgH & 0x02 #wakeup device
&& $defs{$shash->{IODev}{NAME}}{TYPE} eq "HMLAN"){
$shash->{helper}{io}{newCh} = 1 if ($shash->{helper}{prt}{sProc} == 2);