While the TV is of my logs are flooded with the messages below.
17-03-25 09:59:47 ERROR (MainThread) [homeassistant.components.media_player] Error while update entity from webostv in media_player
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 428, in _update_entity_states
yield from update_coro
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 207, in async_update_ha_state
yield from self.hass.loop.run_in_executor(None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/webostv.py", line 177, in update
self._muted = self._client.get_muted()
File "/home/homeassistant/.homeassistant/deps/pylgtv/webos_client.py", line 265, in get_muted
return self.get_audio_status()['mute']
File "/home/homeassistant/.homeassistant/deps/pylgtv/webos_client.py", line 260, in get_audio_status
self.request(EP_GET_AUDIO_STATUS)
File "/home/homeassistant/.homeassistant/deps/pylgtv/webos_client.py", line 169, in request
self.command('request', uri, payload)
File "/home/homeassistant/.homeassistant/deps/pylgtv/webos_client.py", line 165, in command
loop.run_until_complete(self._command(message))
File "/usr/lib/python3.4/asyncio/base_events.py", line 276, in run_until_complete
return future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
result = next(coro)
File "/home/homeassistant/.homeassistant/deps/pylgtv/webos_client.py", line 131, in _command
"ws://{}:{}".format(self.ip, self.port))
File "/home/homeassistant/.homeassistant/deps/websockets/client.py", line 160, in connect
factory, wsuri.host, wsuri.port, **kwds)
File "/usr/lib/python3.4/asyncio/base_events.py", line 514, in create_connection
type=socket.SOCK_STREAM, proto=proto, flags=flags)
File "/usr/lib/python3.4/asyncio/base_events.py", line 468, in getaddrinfo
host, port, family, type, proto, flags)
File "/usr/lib/python3.4/asyncio/base_events.py", line 431, in run_in_executor
return futures.wrap_future(executor.submit(callback, *args), loop=self)
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 105, in submit
self._adjust_thread_count()
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 121, in _adjust_thread_count
t.start()
File "/usr/lib/python3.4/threading.py", line 850, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread