Wake on Lan integration does not provided entities anymore

Hi, recently ive noticed the inbuilt wake on lan integration suddenly stopped working.
This is my configuration.yml

wake_on_lan:
switch:
  - platform: wake_on_lan
    mac: D8:BB:C1:10:07:B6
    name: "NICO-PC"
    host: 192.168.188.31
    turn_off:
      service: button.press
      data:
        entity_id: button.nico_pc_nico_pc_herunterfahren

Am I missing something here?

Matbe a 6 months deprecation warning that YAML configured WoL is out and should be created in GUI instead.

You might be confused with ping. I haven’t see a deprecation notice for wake_on_lan, and still work fine for me.

It was not ping, but the button.
The switch solution is not drepecated, but a button solution was added.
Maybe trying to use both an YAML switch and an YAML button at one point give me and error I interpreted as the YAMl switch being drepecated.

1 Like

Are you sure the IP address iin the host key s still correct.
All it does is give the integration a host to pung to see if the device is on, which might be the reason why it this k it is not available.

yes, i can ping it from terminal, ive added these lines

button:
  - platform: wake_on_lan
    mac: D8:BB:C1:10:07:B6
    name: "NICO-PC"
    host: 192.168.188.31
    turn_off:
      service: button.press
      data:
        entity_id: button.nico_pc_nico_pc_herunterfahren

Now ive got another switch (not button) with 2 in the name which works fine. Guess that solves my problem
Thanks.