mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 18:16:03 +00:00
37_harmony.pm: one more bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@14330 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f9c013cd9b
commit
8baa0c704b
@ -405,7 +405,7 @@ harmony_Set($$@)
|
||||
}
|
||||
|
||||
my $duration = $param_h->{duration};
|
||||
return "duration musst be numeric" if( defined($duration) && $duration !~ m/^([\d-.])+$/ );
|
||||
return "duration musst be numeric" if( defined($duration) && $duration !~ m/^([\d.-])+$/ );
|
||||
$duration = 0.1 if( !$duration || $duration < 0 );
|
||||
$duration = 5 if $duration > 5;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user