Multiple LGwebos TVs

Hi,

Can anyone knows about to pair some LG WebOs Tvs?
Because we tried to input some of them like this (configuration.yaml):

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

webostv:
  host: 192.168.1.23
  #other settings
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: "64:95:6C:X:F8:X"
      broadcast_address: 192.168.1.127

switch:
  - platform: wake_on_lan
    mac: "64:95:6C:X:F8:X"

webostv:
  host: 192.168.1.15
  #other settings
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: "64:95:6C:X:F8:X"
      broadcast_address: 192.168.1.127

switch:
  - platform: wake_on_lan
    mac: "64:95:6C:X:F8:X"

Homeassistant only recognize one of them to be paired.
We Dont know if we need to develop something like scripts.yaml

Thank You,

have you tried splitting up the entries with dashes (-):

webostv:
  - host: 192.168.1.23
    #other settings
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: "64:95:6C:X:F8:X"
        broadcast_address: 192.168.1.127
  - host: your next tv config here

I used this way for LG TVs:

-webostv:

-Name: screen 1
   Host: 192.168.1.11
-Name: screen2
   Host: 192.168.1.12

But now i cant add Wake-On-Lan Switches correctly, maybe its something like this:

-wake_on_lan:

-Name: screen1
   Mac: "00:40:13:ed:f1:32"
-Name: screen2
   Mac: "00:40:13:ed:f1:33"

all of this its for a big thing about to many screens. I appreciate it so much your reply.

Sorry if my english isnt good aswell.
Thank you

this works for me

webostv:
  - name: Living Room TV
    host: xx.xx.xx.xx
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: "xx-xx-xx-xx-xx-xx"
  - name: Basement TV
    host: xx.xx.xx.xx
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: "xx-xx-xx-xx-xx-xx"