I’ve had a laptop that I’ve never been able to get WoL (Wireless or otherwise) to work, no matter what I tried. Recently realized that the Bluetooth keyboard I used was able to wake it with a key press though.
I searched and found an ESP Home project that will make an ESP32 emulate a Bluetooth keyboard - https://github.com/dmamontov/esphome-blekeyboard
Now for $6 of hardware, I can wake my Laptop up remotely via HA, whenever needed. Definitely recommended!
I actually tried something like this, the laptop BIOS didn’t have any settings to tweak for A/C power changes. However, it does wake from sleep after plugging in. The issue is, it immediately goes back to sleep (within seconds). Tried quite a few things to try to stop that behavior (e.g. running Power Toys Awake) but had no luck.
So that’s when I switched to ESP Keyboard.