mbeddr.core
mbeddr.core copied to clipboard
ActionsFilter: add an activation condition
This PR fixes https://github.com/mbeddr/mbeddr.core/issues/2199. Action profiles that are active by default now have an additional condition to decide if they should be activated. That means that you can have multiple profiles that are active by default but have different activation conditions:

This setting doesn't affect manually activated profiles through the preference page because the condition isn't (and also can't be) persisted in the user settings.
NOTE: This is a breaking change (generator) and therefore existing action profiles need to be regenerated.