After RPC Shutdown Wake On Lan Doesn't Work

So I’ve successfully configured Wakeonlan and RPC shutdown Wakeonlan works when i shutdown normally in windows but when using RPC shutdown and then trying any form of wake on lan it doesn’t work anyone know what i need to change on windows?
`switch:

  • platform: wake_on_lan
    mac_address: “xxxxxxxxxx”
    name: “Jack’s PC”
    host: “192.168.1.100”
    turn_off:
    service: hassio.addon_stdin
    data:
    addon: core_rpc_shutdown
    input: JacksPC`

RPC config
{
“computers”: [
{
“alias”: “JacksPC”,
“address”: “192.168.1.100”,
“credentials”: “JackH%xxxxxj”
}
]
}

Windows 10 doesn’t support WOL from shutdown (S5) only Sleep and hibernate (S3). There are some special motherboards that support WOL from S5 state (shutdown) at bios level, but they are few and far between.

WOL also only works if the PC wired

Here’s some further reading

https://support.microsoft.com/en-gb/help/2776718/wake-on-lan-wol-behavior-in-windows-8-windows-8-1-and-windows-10

Actually I got it working I have a Asus Prime B450 Plus I had to enable power on from PCI-E even though it’s the built in NIC