WebOS TV Sources Disappearing from Source List

@Stefan_U

was fixed a while ago. Ive had no issues since.

Heres what I have in configuration.yaml
image

and switch.yaml
image

I just updated to latest version of HA (docker container, not supervised) and my sources have disappeared.

Has anyone else experienced this problem again recently?

I went from HA 2021.6.6 to 2021.12.10

Thanks

New update for WebOS in Feb release . Update is tomorrow :slight_smile:

For anyone else experiencing this, it might be as simple as disabling “Enable newly added entities” in the WebOS integration.

In my case, I wanted to switch to an input without an active source - E.g. Switch to an input before a console was switched on and providing a source.

I think WebOS effectively stops advertising an available input when it’s not active. As a result the WebOS HA integration disables the input to match. To prevent this behaviour, we just need to configure the WebOS integration to use explicit entities rather and trying to auto-configure them.

The following solution I came up with seems to work well and persist home assistant & TV reboots.


1. Set input names on your TV

Amongst the many problems with HDMI-CEC/ SimpLink, LG TVs try to change device input names depending on what device is plugged in (DVD player, xbox, etc). This complicates things as home assistant uses the input name when sending a request to change input on the TV. While I’m not quite ready to abandon/disable all CEC functionally, I believe manually renaming inputs prevents CEC trying to override the statically configured input name.
For simplicity, I like to rename inputs: HDMI 1, HDMI 2, HDMI 3, etc.

Depending on your model, changing input names is located in different places on LG TVs. For me it 's under: Home Dashboard > Settings > Edit > Icon/Label.

2. Disable automatic input detection in HA

Stop the WebOS integration trying to be clever - Auto adding/removing entities.

  1. Settings > Devices & Services > Integrations > LG webOS Smart TV
  2. Select the kebab menu (⋮) next to your device > System Options.
  3. Disable “Enable newly added entities”.

3. Select inputs we want

Next, explicitly configure the entries you want always available in home assistant.

  1. Settings > Devices & Services > Integrations > LG webOS Smart TV
  2. Select Configure next to your device.
  3. Select all the entities/inputs you always want available.

Thanks for this info.
I have had trouble with HDMI-CEC/ SimpLink Audio Return Channel (ARC) syncing with my NAD T787 Receiver, and NVIDIA Shield which are both linked to my LG C7 OLED.

Control is achieved through my Harmony Hub IR device.

My Problem:
The NAD Receiver does not always achieve an ARC connection to the NVIDIA Shield when starting everytime. Resulting in no sound.

  • NAD Receiver connected to HDMI 1 (ARC) on LG C7 OLED
  • NVIDIA Shield Connected to HDMI 2 on LG C7 OLED

My Solution:

  • I created a NodeRED flow to power cycle devices in the right order and restart the Harmony Activity
    • Ensure NAD Receiver starts first,
    • Start LG C7 OLED,
    • Start Normal TV Channel on LG OLED C7 to (Achieve ARC)
    • Switch LG OLED C7 Back over to Shield
  • I have multiple triggers to automatically pick up if there is a problem and self heal the system. (Much less grumpy wife now)

UNFORTUNATELY The LG Integration does not advertise if ARC has been achieved or not. (Except Sound Output: External Speaker) which is not reliable.
Neither does my NAD Receiver utilising RS232 (Ethernet Protocol)

  • Below is a snapshot of the flow I use if any one wants any details I can share:
    • Shield HDM-CEC Settings
    • Harmony Hub Activity Order
    • Upload of flow so it can be imported from the Node Red Forum.

I had similar issue when the source was not showing in
state: "{{ state_attr('media_player.living_room_lg', 'source_list') }}"
Solution was to edit source list in the integration itself