From 1a615986f9e5feda564b2d75556b56c3031cba79 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 14 Mar 2021 12:51:45 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.11.0 git-svn-id: https://svn.fhem.de/fhem/trunk@23967 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 098d29af6..52c06e0ae 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -1447,7 +1447,7 @@ sub _transferInverterValues { my $edaypast = 0; deleteReadingspec ($hash, "Today_Hour00_PVreal"); - for my $hour (0..int($chour)-1) { # alle bisherigen Erzeugungen des Tages summieren + for my $hour (0..int $chour) { # alle bisherigen Erzeugungen des Tages summieren $edaypast += ReadingsNum ($name, "Today_Hour".sprintf("%02d",$hour)."_PVreal", 0); }