Looking for a "latch" behavior for a motion sensor contact-type item

Neither of these are what you need. You need one of:

Assuming the debounce profile works for you there’s no rules required. The Debounce Rule Template you can install from Add-on Store → Automation in MainUI and then instantiate a rule based on the template.

2 Likes