2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

CUL_HM:remove warning for peerSmart

git-svn-id: https://svn.fhem.de/fhem/trunk@19225 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2019-04-20 06:53:45 +00:00
parent e78fac069c
commit f286aab1b8

View File

@ -4090,7 +4090,7 @@ sub CUL_HM_Get($@) {#+++++++++++++++++ get command+++++++++++++++++++++++++++++
$ret .= "\n mode \t:".$mode;
}
if(!$roleV){
$ret .= " - activity:".$act if ($act ne "-");
$ret .= "\n protState\t: " .InternalVal($devName,"protState" ,(!$roleC ? InternalVal($devName,"STATE","unknown"):"unknown"));
@ -8778,6 +8778,7 @@ sub CUL_HM_getPeerOption($){ #who are my friends
my ($name) = @_;
CUL_HM_calcPeerOptions() if(!$modules{CUL_HM}{helper}{peerOpt});
my $peerFriend = $defs{$name}{helper}{peerFriend};
return "" if (!$peerFriend);
my $modH = $modules{CUL_HM}{helper}{peerOpt};
my %curPTmp;