So an observant Jew is not to use electricity on shabbat, this is because of the prohibition against completing something (in this case a circuit) which is violated by flicking a switch or pressing a button or turning on a screen ect
My synagogue does have an elevator though, and it is not a shabbos elevator (some hospitals will have elevators that on every Saturday stop at every floor without being called, which wouldn't be practical in this circumstance). I was curious how it can be used on shabbat and turns out my rabbi's husband is an electrical engineer who as a pet project built the elevator lol
The way it works is that ones button press provides an opportunity by which the circuit could be completed, with some randomness and some delay. Because of this the circuit completes after the button is pressed but not because the button is pressed, so the person pressing the button has not violated any prohibition
Working out roundabout loopholes to make the space more accessible is just delightful and I'm so glad I asked how it works
Judaism is all about hacking away at technicalities and loopholes.