Could you please share your config please? I am struggling with similar issue 🥲
I don’t use WOL anymore, for long time
Old thread but i wanted to re add WoL in Home Assistant today and ran into some issues myself.
I didn’t need to use any quotes, maybe its bad practice and if so please tell. Note that i already had my machines configured for Wake on Lan (which seems to be off by default in at least all my machines BIOS settings)
I also use the add-on “RPC Shutdown” as i want the ability to shut down my Windows machines
Here are the entry in my configuration.yaml with RPC Shutdown
wake_on_lan:
switch:
- platform: wake_on_lan
name: a_name_for the_pc_in_lovelace
host: 192.168.0.99
mac: c2:35:2d:46:bb:cc
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: the_pc_alias_in_RPC_Shutdown
The following are the stuff that you need to match your system, i changed the for this post
- name: a_name_for the_pc_in_lovelace
- host: 192.168.0.99
- mac: c2:35:2d:46:bb:cc
- input: the_pc_alias_in_RPC_Shutdown
Here are the entry in my configuration.yaml without RPC Shutdown
wake_on_lan:
switch:
- platform: wake_on_lan
name: a_name_for the_pc_in_lovelace
host: 192.168.0.99
mac: c2:35:2d:46:bb:cc