2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

76_SolarForecast: internal code change for data collection

git-svn-id: https://svn.fhem.de/fhem/trunk@29532 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2025-01-17 20:18:10 +00:00
parent 212641ccbd
commit c521414c80

View File

@ -2153,6 +2153,10 @@ sub _setreset { ## no critic "not used"
delete $data{$name}{circular}{$circh}{pvfcsum};
delete $data{$name}{circular}{$circh}{dnumsum};
for my $k (keys %{$data{$name}{circular}{$circh}}) {
delete $data{$name}{circular}{$circh}{$k} if($k =~ /^(pvrl_|pvfc_)/xs);
}
for my $hid (keys %{$data{$name}{pvhist}}) {
delete $data{$name}{pvhist}{$hid}{$circh}{pvcorrf};
}
@ -2167,6 +2171,10 @@ sub _setreset { ## no critic "not used"
delete $data{$name}{circular}{$hod}{pvrlsum};
delete $data{$name}{circular}{$hod}{pvfcsum};
delete $data{$name}{circular}{$hod}{dnumsum};
for my $k (keys %{$data{$name}{circular}{$hod}}) {
delete $data{$name}{circular}{$hod}{$k} if($k =~ /^(pvrl_|pvfc_)/xs);
}
}
for my $hid (keys %{$data{$name}{pvhist}}) {