diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm
index 17a03e811..f14f1b17f 100644
--- a/fhem/contrib/DS_Starter/76_SolarForecast.pm
+++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm
@@ -119,6 +119,7 @@ BEGIN {
# Versions History intern
my %vNotesIntern = (
+ "0.54.3" => "11.07.2021 fix _flowGraphic because of Current_AutarkyRate with powerbatout ",
"0.54.2" => "01.07.2021 fix Current_AutarkyRate with powerbatout ",
"0.54.1" => "23.06.2021 better log in __weatherOnBeam ",
"0.54.0" => "19.06.2021 new calcVariance, new reset pvCorrection circular, behavior of attr 'numHistDays', fixes ",
@@ -5027,6 +5028,11 @@ sub _flowGraphic {
$batout = 0;
$soc = 0;
}
+
+ if($batout) {
+ $csc -= $batout;
+ $csc_style = $csc ? 'flowg active_out' : 'flowg inactive_out';
+ }
my $batin_style = $batin ? 'flowg active_out' : 'flowg inactive_out';
my $batout_style = $batout ? 'flowg active_in' : 'flowg inactive_in';
@@ -5108,7 +5114,7 @@ END3
$ret .= qq{$cpv} if ($cpv);
$ret .= qq{$soc %} if ($hasbat);
- $ret .= qq{$csc} if ($csc);
+ $ret .= qq{$csc} if ($csc && $cpv);
$ret .= qq{$cgfi} if ($cgfi);
$ret .= qq{$cgc} if ($cgc);
$ret .= qq{$batout} if ($batout && $hasbat);