Error executing service <ServiceCall media_player.play_media (c:254e7636b2244143b077db4eb5c8836e): media_content_id=https://r5---sn-8pxuuxa-nboey.googlevideo.com/videoplayback?fvip=5&ratebypass=yes&clen=60431452&dur=0.000&source=youtube&initcwndbps=840000&ei=YoCSXLbDN8im1AaM3YXIAQ&requiressl=yes&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&lmt=1540633738970366&itag=43&ipbits=0&mt=1553104892&mv=m&pcm2cms=yes&ms=au%2Conr&signature=64529031E48D25128DBF051EFFC7096FA7247DF1.760372D48C52CADDC1CB4AFA2CF1143D5E69D56A&id=o-APYL4GcAqU3edqw9JvY7_PXIqNRtzvxV2kHFl6igQO9A&gir=yes&mm=31%2C26&ip=27.78.133.71&mn=sn-8pxuuxa-nboey%2Csn-i3beln7d&pl=21&expire=1553126595&c=WEB&mime=video%2Fwebm&key=yt6&txp=5411222, media_content_type=video/youtube, entity_id=[‘media_player.loa_phong_khach’]>
Traceback (most recent call last): File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py”, line 1142, in _safe_execute await self._execute_service(handler, service_call) File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py”, line 1155, in _execute_service await handler.func(service_call) File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py”, line 188, in handle_service self._platforms.values(), func, call, service_name File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py”, line 278, in entity_service_call future.result() # pop exception if have File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result raise self._exception File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step result = coro.throw(exc) File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py”, line 294, in _handle_service_platform_call await func(entity, data) 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 “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cast/media_player.py”, line 623, in play_media self._chromecast.media_controller.play_media(media_id, media_type) File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/controllers/media.py”, line 480, in play_media callback_function=app_launched_callback) File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py”, line 916, in launch_app self._send_launch_message(app_id, force_launch, callback_function) File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py”, line 930, in _send_launch_message callback_function=lambda response: File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/controllers/init.py”, line 84, in send_message self.namespace, data, inc_session_id, callback_function) File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py”, line 708, in send_platform_message inc_session_id, callback_function_param) File “/srv/homeassistant/lib/python3.5/site-packages/pychromecast/socket_client.py”, line 701, in send_message raise NotConnected("Chromecast " + self.host + “:” + self.port + TypeError: Can’t convert ‘int’ object to str implicitly
I have reinstall Home Assistant, but it only working about 1 day, after It repeat error
Can you help me ?
My hass version is 0.89.2