I have A LOT of errors in my log after upgrading to 0.42.2. Multiple profiles don’t trigger anymore. The most annoying issue is that my Chromecasts don’t work half of the time.
Error:
17-04-11 18:29:23 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1016, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 365, in async_service_handler
yield from getattr(player, method['method'])(**params)
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/components/media_player/cast.py", line 267, in turn_on
CAST_SPLASH, pychromecast.STREAM_TYPE_BUFFERED)
File "/home/homeassistant/.homeassistant/deps/pychromecast/controllers/media.py", line 466, in play_media
callback_function=app_launched_callback)
File "/home/homeassistant/.homeassistant/deps/pychromecast/socket_client.py", line 806, in launch_app
self.update_status(lambda response:
File "/home/homeassistant/.homeassistant/deps/pychromecast/socket_client.py", line 797, in update_status
callback_function=callback_function_param)
File "/home/homeassistant/.homeassistant/deps/pychromecast/controllers/__init__.py", line 84, in send_message
self.namespace, data, inc_session_id, callback_function)
File "/home/homeassistant/.homeassistant/deps/pychromecast/socket_client.py", line 603, in send_platform_message
inc_session_id, callback_function_param)
File "/home/homeassistant/.homeassistant/deps/pychromecast/socket_client.py", line 590, in send_message
raise NotConnected("Chromecast is connecting...")
pychromecast.error.NotConnected: Chromecast is connecting...