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

More skippable intents #1038

Merged
merged 2 commits into from Oct 13, 2020

Conversation

dshokouhi
Copy link
Member

We had recently started to skip certain intents if the corresponding sensor was not enabled. Lets add more to this list. Pretty much any intent except for ones that are tied to more than one sensor are now skipped. This should account for the majority of the events that are unwanted especially screen on/off.

Suppressing lint here is ok because we only register for receivers if the android version matches the intent.

@JBassett JBassett merged commit 120d1c2 into home-assistant:master Oct 13, 2020
@dshokouhi dshokouhi deleted the more_skippable_intents branch March 24, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants