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

76_SolarForecast.pm: contrib 0.39.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24324 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2021-04-24 11:27:09 +00:00
parent 5f8ee08db2
commit b3f5e9d052

View File

@ -2414,7 +2414,7 @@ sub _calcSummaries {
my $batin = CurrentVal ($hash, "powerbatin", 0); # aktuelle Batterieladung
my $batout = CurrentVal ($hash, "powerbatout", 0); # aktuelle Batterieentladung
my $consumption = $pvgen - $gfeedin + $gcon - $batin + $batout;
my $consumption = int ($pvgen - $gfeedin + $gcon - $batin + $batout);
$data{$type}{$name}{current}{consumption} = $consumption;
push @$daref, "Current_Consumption<>". $consumption. " W";