Lost a Routine, now messed up

first it’s important to understand the difference between Modes and Smart Home Monitor states

second, make sure your routines based on mobile presence have that setup at the bottom under “Automatically perform”