Prevent zone automation from triggering when briefly entering zone

I believe that if you switch to a state trigger, you can use pieter_work_xxx as the to: state and put a for: time to debounce the automation.

If that doesn’t work, you could put a delay followed by a condition in your automation action to check that you are still in the zone before proceeding with the rest of the actions.

Edit: the linked post indicates that my first proposal would work.