mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
76_SolarForecast: fix load Astro module
git-svn-id: https://svn.fhem.de/fhem/trunk@28504 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7f11d7fb81
commit
2586b682ee
@ -12645,10 +12645,7 @@ sub _aiGetSpread {
|
||||
}
|
||||
}
|
||||
|
||||
my $pvaifc = $pos && $neg ? sprintf "%.0f", (($pos + $neg) / 2) :
|
||||
$pos ? sprintf "%.0f", $pos :
|
||||
$neg ? sprintf "%.0f", $neg :
|
||||
undef;
|
||||
my $pvaifc = $pos && $neg ? sprintf "%.0f", (($pos + $neg) / 2) : undef;
|
||||
|
||||
if (defined $pvaifc) {
|
||||
debugLog ($paref, 'aiData', qq{AI determined average result: pvaifc: $pvaifc Wh (hod: $hod, sunalt: $sunalt, wcc: $wcc, wrp: $wrp, temp: $temp)});
|
||||
|
Loading…
Reference in New Issue
Block a user