Open medicoc opened 4 years ago
Sounds good
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))
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.