diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index b9be5256c..a209c95d3 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -4923,7 +4923,7 @@ sub __planSwitchTimes { } } else { # Verbraucher _muß_ geplant werden - if($debug) { + if($debug =~ /consumerPlanning/x) { Log3 ($name, 1, qq{$name DEBUG> consumer "$c" - mode: $mode, mintime: $mintime, relevant method: max}); for my $o (sort{$a<=>$b} keys %max) {