Problems with security alarm automation

I have always used an automation for home alarm security with conditions if the wife is home and i leave dont set alarm same if she leaves and i am home alarm wont set and always works perfectly! But at my office(different location) i cant add her as condition? for some reason only option is “the wife not home” no option for “the wife not at office” i do have zones for Home and Office and all works great except if i leave office and she is there the alarm sets to away. any ideas? Is there a blueprint for this?

First world problems.
The GUI is not flawless, you may have to look at it and code it a little yourself.

I have a BP that might work. Look over the helper file here and decide.

Will give this a look! Thank you. Yeah I know first world problems ha ha. But it’s so nice to have alarm set when nobody is home automatically