70_NEUTRINO: bugfixes set volume

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@15133 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
michael.winkler 2017-09-24 21:03:57 +00:00
parent a5ee007653
commit c4a4e2635d

View File

@ -532,7 +532,7 @@ sub NEUTRINO_Set($@) {
if ( $state eq "on" ) {
my $uResult = $a[2];
if ( m/^\d+$/ && $uResult >= 0 && $uResult <= 100 ) {
if ( $uResult =~ m/^\d+$/ && $uResult >= 0 && $uResult <= 100 ) {
$cmd = $a[2];
}
else {