01_FHEMWEB.pm: enable negative slider values
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2439,7 +2439,7 @@ FW_sliderFn($$$$$)
|
||||
{
|
||||
my ($FW_wname, $d, $FW_room, $cmd, $values) = @_;
|
||||
|
||||
return undef if($values !~ m/^slider,([\d.]*),([\d.]*),([\d.]*)(,1)?$/);
|
||||
return undef if($values !~ m/^slider,([-\d.]*),([-\d.]*),([-\d.]*)(,1)?$/);
|
||||
return "" if($cmd =~ m/ /); # webCmd pct 30 should generate a link
|
||||
my ($min,$stp, $max, $flt) = ($1, $2, $3, $4);
|
||||
$flt = ($flt ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user