LGwebostv and home assistant, error

Hello guys,

I’ve ran into problems in setting up LGwebostv with these errors in it :frowning: . I couldnt find anywhere addressing this.

Error while setting up platform webostv
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py”, line 412, in wait_for
return fut.result()
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/components/media_player/webostv.py”, line 87, in setup_platform
add_devices, turn_on_action)
File “/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/components/media_player/webostv.py”, line 93, in setup_tv
from pylgtv import WebOsClient
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/pylgtv/init.py”, line 1, in
from .webos_client import WebOsClient
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/pylgtv/webos_client.py”, line 6, in
import websockets
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/websockets/init.py”, line 3, in
from .client import *
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/websockets/client.py”, line 13, in
from .protocol import CONNECTING, OPEN, WebSocketCommonProtocol
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/websockets/protocol.py”, line 17, in
from .compatibility import asyncio_ensure_future
File “/Users/yitchuan/.homeassistant/deps/lib/python/site-packages/websockets/compatibility.py”, line 8
asyncio_ensure_future = asyncio.async # Python < 3.5
^
SyntaxError: invalid syntax

Here is what is input to configuration.yaml

media_player:

  • platform: webostv
    host: 192.168.1.148
    name: Living room TV

Any heads up?

Still having the same issue :frowning:

I have got similar error on hassio 0.75.3 on my raspberry pi 2:

Error setting up platform webostv
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/notify/init.py”, line 95, in async_setup_platform
platform.get_service, hass, p_config, discovery_info)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/notify/webostv.py”, line 31, in get_service
from pylgtv import WebOsClient
File “/usr/local/lib/python3.6/site-packages/pylgtv/init.py”, line 1
If the database column on the server is in fact a floating-point type
^
SyntaxError: invalid syntax

I created a new database but this did not help.