I wasn’t able to get my TV to turn on. I didn’t add one line from the full example to my configuration.yaml file and even though it doesn’t sound like it has anything to do with WOL it is what made mine work in the end.
For me the issue was a setting on the TV. I looked around on the tv setting and found All Settings → General → Devices → External Devices → TV On With Mobile → Turn on via WiFi, which was off. My TV is hard wired, so I’m not using WiFi. I still needed this feature enabled for wake_on_lan to work.
Stumbled onto this thread as I had issues waking my LG SM8500PLA (2020?) up through WOL via it’s ethernet connection. I tried using pfsense to send WOL packets just to ensure that it did not stumble in HA configuration. Turns out the TV would not turn on. I went into the TV settings, enabled wifi and there was a switch for enabling wol. Somehow the ethernet settings did not have a corresponding switch. Anyhow, after enabling wol for wifi, ethernet would start responding to wol packets. Maybe this will help a fellow LG owner that is not able wol through HA.
I’ve been getting these for several months now during startup:
Logger: homeassistant.helpers.config_validation
Source: helpers/config_validation.py:1065
First occurred: 09:33:50 (1 occurrences)
Last logged: 09:33:50
The wake_on_lan integration does not support any configuration parameters, got {'mac': 'xx:xx:xx:xx:xx:xx'}. Please remove the configuration parameters from your configuration.
(Real mac address removed)
In configuration.yaml I have repectively
wake_on_lan:
mac: xx:xx:xx:xx:xx:xx:xx
The funny thing is that in the HA WOL documentation (Wake on LAN - Home Assistant) mac is the only parameter that is NOT optional…
However, I also use lg-remote-control custom card, where mac is also defined
It works OK and has been doing so somewhat 2 years. The device (LG TV) gets up when virtual remote controller power button is clicked.
It is just the warninng I have been getting for few months
EDIT: I have been searching the error message every now and then, but I can not find any references fron net. Surely there are other users that have come across this?
However, isn’t that a bit controversary to what was said earlier?
wake_on_lan: Should only be in configuration.yaml
Anyway, it does not much matter to me, since it is only my wife who in general even watches TV
However, I do not wish her to generate error messages either…