Nope. This is a ridiculously high-tech story covering for the simplest mechanism: timers.
Let’s say it’s triggered by the door latch, maybe a warning alarm at 6 minutes, maybe 90 seconds’ tolerance, before the automated self-cleaning and self-airing functions activate.
Yes, it has all the down-sides in terms of ableism, carers, kids, and homeless people seeking to rest or get cleaned up in peace. That’s rationalisation, baby! It has none of the ongoing costs, and no need to employ anyone, whatsoever. There’s a book about it: