Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95541

PC Switch not updating

$
0
0

@amiranees wrote:

Hi peepz,

I made a switch on home assistant to turn on and off the pc remotely. Everything works, at least for a part. When I turn on the pc, well the pc turns on but the switch does not update. Ideas?
Here is my code:

switch:
  - platform: wake_on_lan
    mac_address: "mac"
    name: GGPC
    host: ipadres
    turn_off:
     service: hassio.addon_stdin
     data:
      addon: core_rpc_shutdown
      input: GGPC

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>