I set up wake on lan from the ui and its working fine but i wanted a switch with a turn off command so using the integration documentation i created this
switch:
- platform: wake_on_lan
name: Steam PC
host: 192.168.1.16
mac: e0:d5:5e:20:0b:1d
turn_off:
action: shell_command.turn_off_steam_pc
Problem is the wake up doesnt work even though it will work using wake on lan from the ui so it makes no sense.