It should be possible to combine 2 or more different "when" sources (AND logic) before running an automation.