2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 02:59:22 +00:00

HMInfo:autocorrection of Register with loadConfig

git-svn-id: https://svn.fhem.de/fhem/trunk@22462 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-07-24 15:04:11 +00:00
parent c2f15843fb
commit 53990166fa

View File

@ -2129,9 +2129,9 @@ sub HMinfo_loadConfig($@) {####################################################
next if (!$list);
my $pId = CUL_HM_name2Id($pN);# allow devices also as peer. Regfile is korrekt
# my $pId = CUL_HM_peerChId($pN,substr($defs{$eN}{DEF},0,6));#old - removed
CUL_HM_updtRegDisp($defs{$eN},$list,$pId);
push @el,"$eN reg list:$reg";
}
CUL_HM_refreshRegs($eN);
}
$ret .= "\nadded data:\n " .join("\n ",@el) if (scalar@el);
$ret .= "\nfile data incomplete:\n ".join("\n ",@elincmpl) if (scalar@elincmpl);