From 74077191dd54cfdc12dbaa34f9f43e3927624f5f Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Thu, 14 Sep 2023 22:00:05 +0000 Subject: [PATCH] 76_SolarForecast: contrib 0.82.3 git-svn-id: https://svn.fhem.de/fhem/trunk@27964 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;