mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-14 15:39:12 +00:00
59_LuftdatenInfo: line 248 MODE was CONNECTION see 108864
git-svn-id: https://svn.fhem.de/fhem/trunk@21434 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
51a745ca4a
commit
71861c679f
@ -245,7 +245,7 @@ sub LuftdatenInfo_Attr(@) {
|
||||
}
|
||||
}
|
||||
elsif($attribute eq "interval"){
|
||||
my $minInterval = $hash->{CONNECTION} eq "local" ? 30 : 300;
|
||||
my $minInterval = $hash->{MODE} eq "local" ? 30 : 300;
|
||||
my $interval = $cmd eq "set" ? $value : $minInterval;
|
||||
$interval = $minInterval unless(looks_like_number($interval));
|
||||
$interval = $minInterval if($interval < $minInterval);
|
||||
|
Loading…
x
Reference in New Issue
Block a user