Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error executing service <ServiceCall media_player.turn_off: entity_id=['media_player.ps4_pro']>
- Traceback (most recent call last):
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call
- yield from service_handler.func(service_call)
- File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/__init__.py", line 402, in async_service_handler
- yield from getattr(player, method['method'])(**params)
- File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
- raise self._exception
- File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/home/homeassistant/.homeassistant/custom_components/media_player/ps4.py", line 360, in turn_off
- self.ps4.standby()
- File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/ps4.py", line 90, in standby
- self._connection.login()
- File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/connection.py", line 63, in login
- self._send_login_request()
- File "/srv/homeassistant/lib/python3.5/site-packages/pyps4/connection.py", line 168, in _send_login_request
- msg = fmt.build(config)
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 282, in build
- self.build_stream(obj, stream, **contextkw)
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 298, in build_stream
- self._build(obj, stream, context, "(building)")
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 1917, in _build
- buildret = sc._build(subobj, stream, context, path)
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 2371, in _build
- return self.subcon._build(obj, stream, context, path)
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 763, in _build
- _write_stream(stream, data, length)
- File "/srv/homeassistant/lib/python3.5/site-packages/construct/core.py", line 99, in _write_stream
- raise StreamError("could not write bytes, expected %d, found %d" % (length, len(data)))
- construct.core.StreamError: could not write bytes, expected 64, found 120
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement