Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Aqara Motion Sensor] Version 0.8.0 #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gabriele-v
Copy link

Change behaviour of inactive motion: consider latest motion instead of every motion

@veeceeoh
Copy link
Owner

This already happens due to the use of runIn().

Every time motion is detected, the runIn() timer is effectively reset, so the call to set the inactive motion event is always based on the time of the most recent motion detected event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants