Arduino AC issues

I have an Arduino Micro. Basically, it is supposed to detect a momentary button push, then set pin 10 to HIGH for 3.5 seconds when the button is pressed, then pin 10 is set to LOW. The Arduino is in the attic. Whenever I turn on an inductive AC load (eg a fan, larger transformer, multiple led lights), the Arduino assumes that the button was pressed and sets pin 10 to HIGH. I have tried a pull-up and pulldown resistor and software debouncing. If the Arduino is powered by a power bank/different outlet, the issue persists. I have tried numerous Arduino boards, all with the same issue - genuine and even counterfeits. It is farther than 30" away from any 120v lines, and more than 4 feet away from the 240V lines. Is there anything that can be done about this?
Thanks for any help!

Does the problem still occur if the Arduino is powered by batteries ?

What happens if you put a large value capacitor across the power input to the Arduino ?

See this topic for additional filtering for switches

How long are the wires to the switch ?