About wake_on_lan issus

I followed the instructions to add wake_on_lan in the switch, but no “switch.HTPC” entry appeared in “States”,did not see the corresponding switch.
broadlink is worked.

switch:

  • platform: wake_on_lan
    name: HTPC
    mac_address: “40-61-86-7E-7E-70”
    host: 192.168.1.169

  • platform: broadlink
    host: 192.168.1.170
    mac: ‘B4:43:0D:38:97:3D’
    timeout: 15
    switches:
    sw1:…

Thanks in advance,