mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
76_SolarForecast.pm: contrib 0.3.0
git-svn-id: https://svn.fhem.de/fhem/trunk@23598 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
71b61b1960
commit
87173a1022
@ -996,7 +996,7 @@ sub _transferDWDForecastValues {
|
||||
|
||||
my @aneeded = checkdwdattr ($fcname);
|
||||
if (@aneeded) {
|
||||
Log3($name, 2, qq{$name - ERROR - the attribute "forecastProperties" of device "$fcname" needs to contain: }.join ",",@aneeded);
|
||||
Log3($name, 2, qq{$name - ERROR - the attribute "forecastProperties" of device "$fcname" must contain: }.join ",",@aneeded);
|
||||
}
|
||||
|
||||
# deleteReadingspec ($hash, "NextHour.*");
|
||||
@ -2169,8 +2169,6 @@ sub checkdwdattr {
|
||||
|
||||
my @fcprop = map { trim($_) } split ",", AttrVal($dwddev, "forecastProperties", "pattern");
|
||||
|
||||
# my @trimed = map { trim($_) } @fcprop;
|
||||
|
||||
my @aneeded;
|
||||
for my $am (@dwdattrmust) {
|
||||
next if($am ~~ @fcprop);
|
||||
|
Loading…
x
Reference in New Issue
Block a user