2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 16:05:19 +00:00

76_SolarForecast.pm: contrib 0.68.4

git-svn-id: https://svn.fhem.de/fhem/trunk@26466 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-10-02 09:51:35 +00:00
parent 38c80a6469
commit 7868678517

View File

@ -4700,9 +4700,10 @@ sub ___switchConsumerOn {
Log3 ($name, 1, "$name - $err") if($err); Log3 ($name, 1, "$name - $err") if($err);
if ($debug) { # nur für Debugging 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: }. 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{planning state: $pstate, start timestamp: }.($startts ? $startts : "undef").", ".
qq{timestamp: $t} qq{timestamp: $t}
); );