2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

10_CUL_HM.pm: korrekt lazyConfig behavior

git-svn-id: https://svn.fhem.de/fhem/trunk@21055 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-01-26 09:02:21 +00:00
parent bd22760693
commit 443145e6d0

View File

@ -3087,7 +3087,7 @@ sub CUL_HM_parseCommon(@){#####################################################
if($rxt & 0x10 && $devHlpr->{prt}{sleeping}){ # lazy config if($rxt & 0x10 && $devHlpr->{prt}{sleeping}){ # lazy config
if($mhp->{mFlgH} & 0x02 #wakeup device if($mhp->{mFlgH} & 0x02 #wakeup device
&& $defs{$mhp->{devH}{IODev}{NAME}}{TYPE} =~ m/^(HMLAN|HMUARTLGW)$/){ && $defs{$mhp->{devH}{IODev}{NAME}}{TYPE} =~ m/^(HMLAN|HMUARTLGW)$/){
$devHlpr->{io}{newCh} = 1 if ($devHlpr->{prt}{sProc} == 2); $devHlpr->{io}{newChn} = 1 if ($devHlpr->{prt}{sProc} == 2);
CUL_HM_appFromQ($mhp->{devN},"cf");# stack cmds if waiting CUL_HM_appFromQ($mhp->{devN},"cf");# stack cmds if waiting
$devHlpr->{prt}{sleeping} = 0; $devHlpr->{prt}{sleeping} = 0;
CUL_HM_ProcessCmdStack($mhp->{devH}); CUL_HM_ProcessCmdStack($mhp->{devH});