I really don’t understand much of what you’re trying to say, but
-
try searching for “programmable switches”. I have several in my house, where you can set a timer on the switch and it’s all self-contained.
-
maybe you’re thinking of “automation” wrongly. I agree that things should still work locally as expected but there’s plenty of opportunity to add automation
For example, I believe there are programmable smart switches that do keep their schedule locally but you can much more easily configure it from your phone or computer, plus synch time, plus the extra capabilities of automation