2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 05:16:02 +00:00

76_SolarForecast: contrib 1.6.0

git-svn-id: https://svn.fhem.de/fhem/trunk@28296 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2023-12-19 21:54:15 +00:00
parent 7538ce5b6a
commit b245b5c360

View File

@ -11656,6 +11656,8 @@ sub __calcNewFactor {
$factor = sprintf "%.2f", ($pvre / $pvfc);
}
$factor = 1.00 if(1 * $factor == 0);
return ($factor, $dnum);
}