After update: Wake on LAN stopped working

I haven’t updated my Home Assistant in a while, because everything worked. Today I updated, and kind of regret it, now my Wake On LAN switches stopped working.
I’m not an expert in configuring Home Assistant so I don’t know what to do. Probably they changed something?

I see this in my notifications:

Invalid config
The following integrations and platforms could not be set up:

switch.wake_on_lan
Please check your config.

and this is how I set up my wake on lan switches in the configuration.yaml

switch:
  - platform: wake_on_lan    
    mac_address: "MYPCMACADDRESS"
    name: "pcWOL"
    host: 192.168.1.13
  - platform: wake_on_lan    
    mac_address: "MYLAPTOPMACADDRESS"
    name: "laptopWOL"
    host: 192.168.1.14

Any idea?

Change mac_address to mac.


3 Likes

Oh, my bad! Thank you so much!