2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 19:36:02 +00:00

HMInfo:peerIDs empty marked "peerUnread" are considered

git-svn-id: https://svn.fhem.de/fhem/trunk@22205 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-06-20 09:28:42 +00:00
parent d677f258f7
commit c262af2525

View File

@ -517,7 +517,7 @@ sub HMinfo_peerCheck(@) { #####################################################
push @peeringStrange,$eName." not peered!! add SD to any team !!" push @peeringStrange,$eName." not peered!! add SD to any team !!"
if(!$peerIDs); if(!$peerIDs);
} }
foreach my $pId (split",",$peerIDs){ foreach my $pId (grep !/peerUnread/,split",",$peerIDs){
next if ($pId =~m /$devId/); next if ($pId =~m /$devId/);
if (length($pId) != 8){ if (length($pId) != 8){
push @peerIDnotDef,$eName." id:$pId invalid format"; push @peerIDnotDef,$eName." id:$pId invalid format";
@ -2795,7 +2795,6 @@ sub HMinfo_templateUsg(@){#####################################################
sub HMinfo_templateChk(@){##################################################### sub HMinfo_templateChk(@){#####################################################
my ($aName,$tmpl,$pSet,@p) = @_; my ($aName,$tmpl,$pSet,@p) = @_;
Log 1,"General tplCheck: ".join(" :",@_);
# pset: 0 = template w/o peers # pset: 0 = template w/o peers
# peer / peer:both = template for peer, not extending Long/short # peer / peer:both = template for peer, not extending Long/short
# peer:short|long = template for peerlong or short # peer:short|long = template for peerlong or short