From a414d7847988c47246262e32828ead48cd6ed9cc Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Sun, 2 Oct 2022 12:48:17 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.68.4 git-svn-id: https://svn.fhem.de/fhem/trunk@26468 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 2455bea6f..293020b9f 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -4702,7 +4702,7 @@ sub ___switchConsumerOn { if ($debug) { # nur für Debugging my $cons = CurrentVal ($hash, 'consumption', 0); my $nompow = ConsumerVal ($hash, $c, 'power', '-'); - my $sp = CurrentVal ($hash, 'consumption', 0); + my $sp = CurrentVal ($hash, 'surplus', 0); Log (1, qq{DEBUG> $name consumer "$c" - general switching parameters: }. qq{auto mode: $auto, current Consumption: $cons W, nompower: $nompow, surplus: $sp W, }. qq{planning state: $pstate, start timestamp: }.($startts ? $startts : "undef").", ".