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 42d09bb0d3
commit 607d8cd15e

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"