Wake on lan + Linux + MSI x470 Mobo

Hi,
I’m trying to set an wake on lan switch in hassio to start my desktop PC. My system is Arch Linux and my motherboard is MSI x470 Gaming Plus MAX.

I have created wake on lan switch that looks like this

  - platform: wake_on_lan
    mac: 00:xx:xx:xx:xx
    name: "Wake up desktop"
    host: 10.20.20.778
ethtool interface | grep Wake-on
	Supports Wake-on: pumbg
	Wake-on: g

I have also set my Arch Linux network card drivers that it has wol on.

nmcli c show “Wired connection 1” | grep 802-3-ethernet.wake-on-lan
802-3-ethernet.wake-on-lan: magic
802-3-ethernet.wake-on-lan-password: –

And from BIOS, I have set so that wake on event is “Enabled” on the PCIE.

But nothing happens when I turn the switch on. It does show PC’s status correctly so it is “On” when the PC is on. But the WOL won’t work.

Any ideas, what I’m missing?

Have you tried to wake it with another WOL Client from another device?
This would be my first check.

Yes and it didn’t work. So it’s not HASS that is not working.

I got tired of unreliable Realtek inboard NIC and just ordered an Intel one. Always when there is Realtek NIC involved, there is problems.

This is working fine now that I upgraded my NIC to a proper Intel one instead of the integrated Realtek.