LG webOS Smart TV Problems (Standby+ and AttributeError)

Hello,

maybe someone could bring some light into LG WebOS Component stuff:

First, it’s stated in the documentation:

standby_connection

(boolean)(Optional)

Keep connection alive when TV is in standby (this should be set to true if and only if the “Standby+” option is enabled in the TV UI.)

Could someone tell me, what this “Standby+” Option is? I couldn’t find something in my TV UI, nor in my TV manual nor in Google.

And: I have a lot of errors in my logs:

Log Details (ERROR)
Wed Jan 22 2020 10:58:48 GMT+0100 (Mitteleuropäische Normalzeit)
Error setting up platform webostv
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 73, in async_setup_platform
    hass, p_config, discovery_info
  File "/usr/src/homeassistant/homeassistant/components/webostv/notify.py", line 19, in async_get_service
    host = discovery_info.get(CONF_HOST)
AttributeError: 'NoneType' object has no attribute 'get'`

Anyone know’s why this happens?

Thank you.

On my LG OLED B7, the option is called Quick Start+. If you have the same TV or similar, it can be found by going to Settings ► General ► Quick Start+.

Please post your yaml where you have the main webostv integration configured, as well as its notify portion so we can try to figure out what your errors mean.

I’m getting the same error out of the blue. It was working yesterday. Here’s my yaml:

webostv:
  - name: Living Room LG OLED
    host: 192.168.1.xxx
    turn_on_action: 
      service: wake_on_lan.send_magic_packet
      data:
        mac: "xx:xx:xx:xx:xx:xx"

Any ideas what the error means?

For reference, here’s my error which is the same as the above I believe:

Log Details (ERROR)
Tue Jan 28 2020 18:28:05 GMT-0500 (Eastern Standard Time)
Error setting up platform webostv
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/notify/__init__.py", line 73, in async_setup_platform
    hass, p_config, discovery_info
  File "/usr/src/homeassistant/homeassistant/components/webostv/notify.py", line 19, in async_get_service
    host = discovery_info.get(CONF_HOST)
AttributeError: 'NoneType' object has no attribute 'get'

Thank you. That was what I was searching for and is the same for my TV Model. Maybe this could be added to the documents of that integration…

webostv:
  host: 192.168.23.100
  name: LGTV

Nothing special. It’s just connected via WiFi. After upgrade to 0.104.3, I don’t see the Errors anymore (also the same errors like Matt), but it doesn’t seem to be stable anyway:

image

(I didn’t turned it on and off again all the time)

I’m not seeing that issue; it always shows correctly in my setup. Is it possible that your TV’s Wi-Fi coverage is spotty or weak, or that the wireless network is rather congested?