Remote ON and OFF PC

I had the next of YAML code do the job. Switch on or Shutdown from home assistant panel.
Now, switching on will work and shutdown doesn’t work anymore. Does someone know what the issue is?

switch:
- platform: wake_on_lan
mac_address: 'hidden'
name: hidden
host: hidden
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: hidden

Please format you code makes it easier for poeple to read.

Alright. I tried. Better?

STILL WRONG’
look like a spacing problem

switch:
  - platform: wake_on_lan
    mac_address: 'hidden'
    name: hidden
    host: hidden
    turn_off:
    service: hassio.addon_stdin
    data: {addon: core_rpc_shutdown, input: hidden}

have you got wake-on-LAN trun on said PC
if if did a update the updates MITE of disablle it

1 Like

I did before and everthing was working fine, but then it stopped. I look at it and let this know.

Yes wake on lan still enabled.