You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
atehrani
added a commit
to atehrani/KOF-CeilingFan
that referenced
this issue
May 19, 2020
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
The text was updated successfully, but these errors were encountered: