2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

HMInfo:avoid clear at configCheck

git-svn-id: https://svn.fhem.de/fhem/trunk@22335 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-07-03 05:56:48 +00:00
parent 45b53f9adf
commit 9e74c1e8c5

View File

@ -2524,11 +2524,12 @@ sub HMinfo_configCheck ($){ ###################################################
} }
} }
$ret .="\n\n idTp01\n ".(join "\n ",sort @tlr) if(@tlr); $ret .="\n\n idTp01\n ".(join "\n ",sort @tlr) if(@tlr);
$ret .="\n";
$ret =~ s/\n/-ret-/g; # replace return with a placeholder - we cannot transfere direct $ret =~ s/\n/-ret-/g; # replace return with a placeholder - we cannot transfere direct
if(!$id){$ret = HMinfo_applTxt2Check($ret);}# add readable text if(!$id){$ret = HMinfo_applTxt2Check($ret);}# add readable text
return "$id;$ret";#;$ret2"; return "$id;$ret";
} }
sub HMinfo_register ($){ ###################################################### sub HMinfo_register ($){ ######################################################
my ($param) = shift; my ($param) = shift;