Open Shredder5262 opened 2 months ago
Hey there @ctalkington, mind taking a look at this issue as it has been labeled with an integration (roku
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
roku documentation roku source (message by IssueLinks)
Debug log, Note again, this occurs every night that one of my automation sequences run
Any feedback on this?
Is this integration dead?
The problem
Having this issue with my roku TV
Core 2024.4.2 Supervisor 2024.04.0 Operating System 12.2 Frontend 20240404.1
(media_player.55_sharp_roku_tv) turned on (remote.55_sharp_roku_tv) turned on (select.55_sharp_roku_tv_application) turned Home
`2024-04-14 14:58:57.720 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140657511515200] Invalid response from Roku API Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/roku/helpers.py", line 43, in wrapper await func(self, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/components/roku/media_player.py", line 481, in async_select_source await self.coordinator.roku.launch(appl.app_id) File "/usr/local/lib/python3.12/site-packages/rokuecp/rokuecp.py", line 336, in launch await self._request(f"launch/{app_id}?{encoded}", method="POST", encoded=True) File "/usr/local/lib/python3.12/site-packages/rokuecp/rokuecp.py", line 174, in _request raise RokuError( rokuecp.exceptions.RokuError: ('HTTP 503', {'content-type': '', 'message': '', 'status-code': 503})
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 971, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1043, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/scene/init.py", line 116, in _async_activate await self.async_activate(**kwargs) File "/usr/src/homeassistant/homeassistant/components/homeassistant/scene.py", line 370, in async_activate await async_reproduce_state( File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 70, in async_reproduce_state await asyncio.gather( File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 64, in worker await platform.async_reproduce_states( File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 145, in async_reproduce_states await asyncio.gather( File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 91, in _async_reproduce_states await call_service(SERVICE_SELECT_SOURCE, [ATTR_INPUT_SOURCE]) File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 60, in call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 2543, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2580, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 971, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1043, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/roku/helpers.py", line 52, in wrapper raise HomeAssistantError("Invalid response from Roku API") from error`
What version of Home Assistant Core has the issue?
core-2024.4.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Roku
Link to integration documentation on our website
https://www.home-assistant.io/integrations/roku
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response