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

HMInfo:bugfix in getModels

git-svn-id: https://svn.fhem.de/fhem/trunk@23446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-12-31 15:08:30 +00:00
parent 7d73df98e8
commit 6c89ff4933

View File

@ -1671,7 +1671,7 @@ sub HMinfo_GetFn($@) {#########################################################
$list =~ s/p//;
my $chan = "";
foreach (split",",$th->{$modelId}{chn}){
my ($n,$s,$e) = split(":",$modelId);
my ($n,$s,$e) = split(":",$_);
$chan .= $s.(($s eq $e)?"":("-".$e))." ".$n.", ";
}
push @model,sprintf("%-16s %-24s %4s %-24s %-5s %-5s %s"