Skip to content

Fan never turns off after motion stopsΒ #6

@trusnock

Description

@trusnock

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions