So my switches.yaml still has platform listed, DO I need to redo this as well ?
platform: wake_on_lan
mac: !secret andypc_mac
name: "andys_pc"
host: !secret andypc_ip
turn_off:
service: hassio.addon_stdin
data:
addon: core_rpc_shutdown
input: "andys_pc"
#bedroom tv for alexa voice commands
- platform: template
switches:
bedroom_tv_off:
friendly_name: "Bedroom TV Alexa Switch"
unique_id: alexa445654
turn_off:
service: media_player.turn_off
data:
entity_id: media_player.bedroom_tv
turn_on:
service: media_player.turn_on
data:
entity_id: media_player.bedroom_tv
#Lounge LG for alexa voice commands
- platform: template
switches:
lg_lounge_alexa:
friendly_name: "LG Lounge TV Alexa Switch"
unique_id: alexa776778
turn_off:
service: media_player.turn_off
data:
entity_id: media_player.lg_lounge
turn_on:
service: wake_on_lan.send_magic_packet
data:
broadcast_port: 9
mac: 7C:64:6C:E8:4B:25