question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LG webOS Smart TV integration requires manual acceptance every time the integration reloads.

See original GitHub issue

The problem

Let me begin by saying I am not certain that this is an issue with the WebOS integration.

When the WebOS integration reloaded (or Home Assistant is restarted)and attempts to connect to the TV, the TV has a popup that states:

“If you accept this connect, LG Remote App will be able to access and store information about your TV.” And to remove the popup you must select “Yes”, if you choose “No” it just asks again.

This has only started somewhat recently, within perhaps the last 2 months. I can’t say for certain whether it was a TV update or a Home Assistant update that happened around the time the issue started.

I imagine that the TV should automatically accept an app that has been previously allowed, and that something (a key or ID maybe?!) isn’t being saved somewhere, whether that’s a fault of the TV or the integration I can’t say, perhaps someone smarter than me can suggest where to look. I’m more than happy to perform whatever troubleshooting necessary.

I am using a model OLED65C1PTB LG TV,

What version of Home Assistant Core has the issue?

Home Assistant 2022.11.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

LG webOS Smart TV

Link to integration documentation on our website

https://www.home-assistant.io/integrations/webostv/

Diagnostics information

config_entry-webostv-96d9b10033f951e087fb0de600c9c300.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

When reloading the integration:

2022-11-22 18:42:45.938 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_mediamute, sending update
2022-11-22 18:42:45.939 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_mediamute') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_mediamute/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_mediamute/action', 'unique_id': 'c72b37d3-d570-4c12-9910-797979eb1620', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_mediamute', 'state_topic': 'homeassistant/button/lgtv/lgtv_mediamute/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.939 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_mediamute
2022-11-22 18:42:45.940 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_mediavolumeup, sending update
2022-11-22 18:42:45.941 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_mediavolumedown, sending update
2022-11-22 18:42:45.941 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_mediavolumeup') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_mediavolumeup/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_mediavolumeup/action', 'unique_id': '5f3d562b-9b1d-4ab4-95e6-a2cd64c28355', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_mediavolumeup', 'state_topic': 'homeassistant/button/lgtv/lgtv_mediavolumeup/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.941 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_mediavolumeup
2022-11-22 18:42:45.941 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_mediavolumedown') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_mediavolumedown/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_mediavolumedown/action', 'unique_id': '55ca1c58-c775-4797-a915-a37ad3bf618f', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_mediavolumedown', 'state_topic': 'homeassistant/button/lgtv/lgtv_mediavolumedown/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.941 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_mediavolumedown
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_mediaplaypause, sending update
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_mediaplaypause') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_mediaplaypause/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_mediaplaypause/action', 'unique_id': 'da244d4e-6afb-48ae-bb0d-5e45f91be87c', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_mediaplaypause', 'state_topic': 'homeassistant/button/lgtv/lgtv_mediaplaypause/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_mediaplaypause
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_restart, sending update
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_sleep, sending update
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: button lgtv lgtv_shutdown, sending update
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_restart') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_restart/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_restart/action', 'unique_id': 'be544b5c-b938-42f2-be4c-a92adb7f05f5', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_restart', 'state_topic': 'homeassistant/button/lgtv/lgtv_restart/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_restart
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_sleep') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_sleep/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_sleep/action', 'unique_id': 'cbde035e-2a16-4c15-95da-a02f127bd0f6', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_sleep', 'state_topic': 'homeassistant/button/lgtv/lgtv_sleep/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_sleep
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Got update for entity with hash: ('button', 'lgtv lgtv_shutdown') '{'availability_topic': 'homeassistant/sensor/lgtv/availability', 'command_topic': 'homeassistant/button/lgtv/lgtv_shutdown/set', 'action_topic': 'homeassistant/button/lgtv/lgtv_shutdown/action', 'unique_id': 'd1b7fc1e-526f-4dea-86b7-9bf1a9f0c91f', 'device': {'identifiers': 'hass.agent-lgtv', 'manufacturer': 'LAB02 Research', 'model': 'Microsoft Windows NT 10.0.22621.0', 'name': 'lgtv', 'sw_version': '2022.14.0'}, 'name': 'lgtv_shutdown', 'state_topic': 'homeassistant/button/lgtv/lgtv_shutdown/state', 'platform': 'mqtt'}'
2022-11-22 18:42:45.942 INFO (MainThread) [homeassistant.components.mqtt.mixins] Ignoring unchanged update for: button.lgtv_shutdown

Additional information

No response

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
thecodecommented, Nov 22, 2022

I understand the cause for this issue, no need for additional data. It can happen if the TV forgets the pairing while HA still think it is paired, I am working on a fix.

2reactions
vinagrepurocommented, Nov 22, 2022

same proble here, waiting for the solution. THANK YOU

Read more comments on GitHub >

github_iconTop Results From Across the Web

LG webOS Smart TV - Enable Turn On Action for HA 2022.2+
Configuring LG webOS Smart TV via YAML configuration has been deprecated and will be removed in a future Home Assistant release. Your existing ......
Read more >
Remote Control Troubleshooting & Operation | LG USA Support
This guide will cover how to troubleshoot and operate both magic and standard remote controls. Depending upon the model of your LG TV,...
Read more >
Troubleshooting the YouTube App - TV | LG USA Support
Troubleshooting the YouTube App - TV. Learn how to use, update, maintain and troubleshoot your LG devices and appliances.
Read more >
Troubleshooting Your Internet Connection - TV - LG
Unplug your modem, router, and tv. The order in which you unplug them does not matter. Do not disconnect any ethernet cables during...
Read more >
LG: TVs, Home Entertainment & Kitchen Appliances | LG USA
Life's Good with LG. LG Electronics Feature Innovative, Smart Technology and Designs to Suit Your Home and Your Style. Find What You're Looking...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found