Automatically Disable Wi-Fi When Ethernet Is Connected
· 4 min read
I am setting up Home Assistant on an old Dell laptop. Because this machine will run all the time, I have been looking for small ways to reduce its power usage.
One simple improvement is to turn off Wi-Fi whenever Ethernet is connected, then turn Wi-Fi back on when the Ethernet cable is unplugged. Debian 13 uses NetworkManager, so this can be automated with a dispatcher script.
