Wake on LAN Service gone?

All,

I have implemented the wol service as described in another thread.
Now I wanted to test it, but recently it seems to be deprecated.

- service: wake_on_lan.send_magic_packet
    data:
      broadcast_port: 9
      mac: aa:aa:aa:aa:aa:aa

I get this:

If I remember correctly, it was available before 2023.07

I know that there are options using templates, but I would like to keep textual configs as low as possible.

Any hint would be greatly appreciated.
Thanks in advance.

If it helps at all I have the following setup and it works to switch on my office PC.

In configuration.yaml:

wake_on_lan

And in my switch.yaml:


- platform: wake_on_lan
  mac: 08:62:66:26:B7:54
  name: 'Office Pc'
  host: 192.168.1.72

Thank you, @rossk

I will most likely go that road than.

However, I am wondering why there was a service for wol and now it’s gone.
:frowning:

Hey, I had the same issue and resolved it by adding the switch to my configuration.yaml.

I don’t know why, but it looks like you have to have the following:

switch:
  - platform: wake_on_lan
    mac: 00:00:00:00:00:00