I have created two "Application Runner" modules that send different commands. I'd like to run one of them as soon as motion is detected (we'll call this one A), and the other one when motion stops (we'll call this one B). I've tried connecting the A module directly to the Motion module and B to a Condition module that is connected to the Motion module. I've tried a couple configurations of the Condtion module: 1) only the motion input, and 2) motion input AND upstream schedule input inverted.
None of these configurations are triggering reliably. Please help me get this setup.