I am unable to connect 2 tvs

When I add the second line with the second TV I lose control of the first tv. When I remove the second TV I can again control the first TV. Any ideas?

webostv:
  host: !secret Living_room_tv_ip
  name: Living Room TV
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: !secret Living_room_tv_mac
  host: !secret Master_bedroom_tv_ip
  name: Master Bedroom TV
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: !secret Master_bedroom_tv_mac

See the format here

You need a dash in front of host, see the docs → LG webOS Smart TV - Home Assistant

webostv:
  - host: !secret Living_room_tv_ip
    name: Living Room TV
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: !secret Living_room_tv_mac
  - host: !secret Master_bedroom_tv_ip
    name: Master Bedroom TV
    turn_on_action:
      service: wake_on_lan.send_magic_packet
      data:
        mac: !secret Master_bedroom_tv_mac

Thank you so much. I am brand new to all this and a helpful community is encouraging. Worked like a charm this time.