2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-03 19:49:02 +00:00

76_SolarForecast: contrib 0.79.3

git-svn-id: https://svn.fhem.de/fhem/trunk@27607 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2023-05-21 20:15:17 +00:00
parent 0fd43f424e
commit 9c37ccbba1

View File

@ -9603,12 +9603,16 @@ sub listDataPool {
my $cfq = qq{};
if(ref $quality eq "HASH") {
no warnings 'numeric';
for my $q (sort {$a<=>$b} keys %{$h->{$idx}{quality}}) {
$cfq .= " " if($cfq);
$cfq .= "$q=".$h->{$idx}{quality}{$q};
my $ct1 = ($cfq =~ tr/=// // 0) / 10;
$cfq .= "\n " if($ct1 =~ /^([1-9])?$/);
}
use warnings;
}
else {
$cfq = $quality;
@ -9625,7 +9629,8 @@ sub listDataPool {
}
else {
$sq .= $idx." => tdayDvtn: $tdayDvtn, ydayDvtn: $ydayDvtn\n";
$sq .= " feedintotal: $fitot, initdayfeedin: $idfi, gridcontotal: $gcontot, initdaygcon: $idgcon";
$sq .= " feedintotal: $fitot, initdayfeedin: $idfi\n";
$sq .= " gridcontotal: $gcontot, initdaygcon: $idgcon";
}
}
}