-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
hasBeenRecentMotion() refers to underfined "minutes" instead of "minutesNoMotion" so it always defaults to isActive = true. Easy fix but I don't have permissions to create a branch:
- if (motionSensor && minutes) {
- def deltaMinutes = minutes as Long
+ if (motionSensor && minutesNoMotion) {
+ def deltaMinutes = minutesNoMotion as Long
Thanks for all the work, this SmartApp is working great for me so far!
-Tom
KingJerky
Metadata
Metadata
Assignees
Labels
No labels