diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index efde8e5c3..b01236a59 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -7545,7 +7545,7 @@ sub _flowGraphic { my $cc_dummy = $cc; my $batin = ReadingsNum($name, 'Current_PowerBatIn', undef); my $batout = ReadingsNum($name, 'Current_PowerBatOut', undef); - my $soc = ReadingsNum($name, 'Current_BatCharge', 100); + my $soc = sprintf "%.1f", ReadingsNum($name, 'Current_BatCharge', 100); my $bat_color = $soc < 26 ? 'flowg bat25' : $soc < 76 ? 'flowg bat50' :