Shabbat: Asking Non-Jew To Help with Electric Door/Elevator

You may ask a non-Jew to open an electric door or to push the button to summon an elevator for you on Shabbat--even if he does not need to get to the floor you want--if you need to get to your room for any mitzva or Shabbat purpose, such as for a nap, to eat, or use the toilet.

Reason Even if a light comes on, it is d'rabanan (you do not need the light) and, therefore, you are permitted to ask the non-Jew to push the button.