From 9ae04891e497aae78123e52c808f953536e8045a Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 2 Oct 2022 09:51:35 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.68.4 git-svn-id: https://svn.fhem.de/fhem/trunk@26466 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 176d3768b..271f61641 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -4700,9 +4700,10 @@ sub ___switchConsumerOn { Log3 ($name, 1, "$name - $err") if($err); if ($debug) { # nur für Debugging - my $cons = CurrentVal ($hash, 'consumption', 0); + my $cons = CurrentVal ($hash, 'consumption', 0); + my $nompow = CurrentVal ($hash, 'power', '-'); Log (1, qq{DEBUG> $name consumer "$c" - general switching parameters: }. - qq{auto mode: $auto, current Consumption: $cons W, }. + qq{auto mode: $auto, current Consumption: $cons W, nompower: $nompow, }. qq{planning state: $pstate, start timestamp: }.($startts ? $startts : "undef").", ". qq{timestamp: $t} );