As others suggested, there are two ways of doing it.
First is use the powerful CoRE with “if… and if… then” syntax.
The other is to create a “Dumb” mode for your home and exclude that mode for all home automation, leaving only manual operations working just like normal home.