Turn On LG TV Via Wifi

When I add this I get an invalid config error.

Yes. I can view the state of the TV and turn it off via HA. Just can’t turn it on.

This is the old media_player config:

This is my working config, works on wifi and LAN:

webostv:
  host: 192.168.1.26
  name: Monitor
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: A8:23:xx:xx:xx:xx
      broadcast_address: 192.168.1.255
  customize:
    sources:
      - PC
      - Emby
      - Netflix
      - BBC iPlayer
      - ITV Hub
      - All 4
      - My5