Exclude space commands from slider

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3111 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-04-24 09:56:25 +00:00
parent 23ec1f5890
commit ef8e4e73c8

View File

@@ -2456,7 +2456,7 @@ FW_sliderFn($$$)
{
my ($FW_wname, $d, $FW_room, $cmd, $values) = @_;
return undef if($values !~ m/^slider,(.*),(.*),(.*)$/);
return undef if($values !~ m/^slider,(.*),(.*),(.*)$/ || $cmd =~ m/ /);
my ($min,$stp, $max) = ($1, $2, $3);
my $srf = $FW_room ? "&room=$FW_room" : "";
my $cv = ReadingsVal($d, $cmd, Value($d));