diff --git a/fhem/FHEM/76_SolarForecast.pm b/fhem/FHEM/76_SolarForecast.pm index c1bd8f0e5..ed90215c5 100644 --- a/fhem/FHEM/76_SolarForecast.pm +++ b/fhem/FHEM/76_SolarForecast.pm @@ -15983,7 +15983,7 @@ sub listDataPool { } } - for my $idx (sort{$a<=>$b} keys %{$h}) { + for my $idx (sort keys %{$h}) { next if($par && $idx ne $par); my ($cret, $s1); my $sp1 = _ldpspaces ($idx, q{}); diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index c1bd8f0e5..ed90215c5 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -15983,7 +15983,7 @@ sub listDataPool { } } - for my $idx (sort{$a<=>$b} keys %{$h}) { + for my $idx (sort keys %{$h}) { next if($par && $idx ne $par); my ($cret, $s1); my $sp1 = _ldpspaces ($idx, q{});