diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index b02e41b06..28389d69c 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -3889,7 +3889,10 @@ sub __getaiRuleStrings { ## no critic "not used" }; if (@rsl) { - $rs = join "\n", @rsl; + my $l = scalar @rsl; + $rs = 'Number of rules: '.$l.''; + $rs .= '

'; + $rs .= join "\n", @rsl; } return $rs;