mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +00:00
76_SolarForecast: contrib 0.76.0
git-svn-id: https://svn.fhem.de/fhem/trunk@27506 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bacd17c859
commit
276c19959d
@ -6346,8 +6346,15 @@ sub genStatisticReadings {
|
||||
my $name = $paref->{name};
|
||||
my $daref = $paref->{daref};
|
||||
my $t = $paref->{t}; # aktueller UNIX Timestamp
|
||||
|
||||
|
||||
my @srd = sort keys (%hcsr);
|
||||
my @csr = split ',', AttrVal($name, 'ctrlStatisticReadings', '');
|
||||
|
||||
for my $item (@srd) {
|
||||
next if($item ~~ @csr);
|
||||
|
||||
deleteReadingspec ($hash, 'statistic_'.$item);
|
||||
}
|
||||
|
||||
return if(!@csr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user