Zachary Kotlarek il y a 12 ans
Parent
commit
ca655c24d5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dmx/rope.pl

+ 1 - 1
dmx/rope.pl

@@ -160,7 +160,7 @@ while (1) {
 			}
 		}
 	}
-	if ($newState eq 'OFF' && $exists{'STAIRS'} =~ /MOTION/) {
+	if ($newState eq 'OFF' && $exists{'STAIRS'} =~ /^State: MOTION\b/) {
 		$newState = 'PREMOTION';
 	}
 	$state = $newState;