Traceback (most recent call last):


 "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step

result = coro.throw(exc)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 387, in _update_entity_states

yield from update_coro


 "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 216, in async_update_ha_state

yield from self.hass.loop.run_in_executor(None, self.update)


 "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup

value = future.result()


 "/usr/lib/python3.4/asyncio/futures.py", line 277, in result

raise self._exception


 "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/samsungtv.py", line 114, in update

return self.send_key('KEY')


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/samsungtv.py", line 127, in send_key

self.get_remote().control(key)


 "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/samsungtv.py", line 120, in get_remote

self._remote = self._remote_class(self._config)


 "/home/pi/.homeassistant/deps/samsungctl/remote.py", line 10, in __init__

self.remote = RemoteWebsocket(config)


 "/home/pi/.homeassistant/deps/samsungctl/remote_websocket.py", line 21, in __init__

self.connection = websocket.WebSocket()
TypeError: __init__() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'

Traceback (most recent call last):


 "test.py", line 18, in <module>

f(D)


 "test.py", line 16, in f

return cls()
TypeError: Can't instantiate abstract class D with abstract methods f
