LG webos tv integration error

Hi All

Im newbie fro HA. I want to add my webos tv to dashbaord, Below is my code

media_player:
platform: webostv
customize:
sources:
- livetv
- youtube
- makotv
- netflix
host: 192.168.1.14
name: Living Room TV
turn_on_action:
data:
message: Turn on action
service: persistent_notification.create
But cannot access my tv
help me please.

I assume you’re on the latest version, as you haven’t said?

I set this up over the weekend.

The docs say:

webostv:
  host: 192.168.1.14
  name: Living Room TV
  turn_on_action:
    service: persistent_notification.create
    data:
      message: "Turn on action"
  customize:
    sources:
      - livetv
      - youtube
      - makotv
      - netflix

Note webostv: is at the edge of the config, not inside media_player

If you want to you can format code by adding ` three times either side of the block here btw.

Today I installed HA. this is my first device going to add please check my code

title: Home
views:

  • badges:
    • entity: binary_sensor.updater
    • entity: person.myhome
    • entity: sensor.m7_activity
    • entity: sensor.m7_battery_level
    • entity: sensor.m7_battery_state
    • entity: sensor.m7_average_active_pace
    • entity: sensor.m7_distance
    • entity: sensor.m7_floors_ascendeda
    • entity: sensor.m7_floors_descended
    • entity: sensor.m7_steps
    • entity: sensor.m7_bssid
    • entity: sensor.m7_connection_type
    • entity: sensor.m7_ssid
    • entity: sensor.m7_sim_1
    • entity: sensor.m7_geocoded_location
    • entity: sensor.m7_last_update_trigger
    • entity: sun.sun
      cards: []
      path: default_view
      title: Home
  • badges: []
    cards: []
    panel: true
    webostv:
    customize:
    sources:
    • livetv
    • youtube
    • makotv
    • netflix
      host: 192.168.1.14
      name: Living Room TV
      turn_on_action:
      data:
      message: Turn on action
      service: persistent_notification.create

This looks like you’re trying to add to the Lovelace front end.

You need to add the integration in configuration.yaml.

This is like option #4 in this video (start at 11m in)

2 Likes

Thank you friend