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

actions should have the option to require all criteria to activate. #235

Open
medicoc opened this issue Sep 19, 2020 · 2 comments
Open

actions should have the option to require all criteria to activate. #235

medicoc opened this issue Sep 19, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@medicoc
Copy link

medicoc commented Sep 19, 2020

for example, in this scenario I'd other to a double tap to play and pause media ONLY when the device is in pocket, screen is off AND headphones are connected. current behavior will trigger the action if any one criteria is met alone.
Screenshot_20200919-153411_Tap,_Tap~2

@KieronQuinn KieronQuinn added the enhancement New feature or request label Sep 19, 2020
@supermegamestre
Copy link

Sounds good

@jsnfwlr
Copy link

jsnfwlr commented Sep 16, 2023

Grouping requirements in AND groups and OR groups, with nesting would be awesome

So you could have a group (ScreenOff AND InPocket) that requires both those states to be true, then you could put that group into another one ((ScreenOff AND InPocket) OR (ScreenOff AND Charging)), and then you could put THAT group in another one (((ScreenOff AND InPocket) OR (ScreenOff AND Charging)) AND HeadPhonesIn)

That final group could also be simplified to (ScreenOff AND HeadPhonesIn AND (InPocket or Charging))

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

No branches or pull requests

4 participants