core
core copied to clipboard
Attempting to configure Roku integration returns "Unknown error occurred"
The problem
Attempting to add Roku integration results in error "Unknown error occurred".
Browsing to http://rokuip:8060 or http://rokuip:8060/query/apps in a web browser returns the expected xml information.
In homeassistant log we see it failing at;
title=result["title"],
KeyError: 'title'
What version of Home Assistant Core has the issue?
core-2023.3.5 / Frontend 20230309.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
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?
2023-03-22 20:36:24.393 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 395, in _async_handle_step
result = await self.async_finish_flow(flow, result.copy())
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 926, in async_finish_flow
title=result["title"],
KeyError: 'title'
Additional information
No response
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!
Code owner commands
Code owners of roku
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Renames the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign roku
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
roku documentation roku source (message by IssueLinks)
I am having this same exact issue. Also running HA in a container. Roku is not auto-discovered and unable to add it by IP.
I am having exact same issue. No other issues with HA accessing other IP's on my local network. My roku integration worked last year, but haven't actually used it since then. Today I decided to start automating it again and saw the integration had an error. I deleted integration to start fresh, and I'm getting this same error when inputting the IP.
I have this same error. Don't know when it started but it's be there for a while. Tried removing the Roku addon and reinstalling but still erroring. I'm running home assistant on dietpi.
Today I just changed the static IP groups on my network and I went to update the roku device IP (remove device and re add) and im getting this same error. The control functionality of the roku device was working fine today too but i cant seem to re-add the device
Having the same problem unfortunately when trying to set up integration with a HiSense Roku TV.
did anyone that is having issue TV recently get an update? I've mostly used TCL brand but many have used this integration with roku and other tv brands without issue.
I have just started noticing this on one of my TCL Roku TVs a few days ago (the other works fine). Happy to see a fix is already being worked on. The affected TV is running Roku OS 12.0.0, which per this blog post looks like it started rolling out gradually at the end of March. Perhaps this issue will become more widespread in the coming weeks.