Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not possible to ignore detected devices #129744

Closed
leroyloren opened this issue Nov 3, 2024 · 2 comments · Fixed by #129805
Closed

It is not possible to ignore detected devices #129744

leroyloren opened this issue Nov 3, 2024 · 2 comments · Fixed by #129805
Assignees
Milestone

Comments

@leroyloren
Copy link

leroyloren commented Nov 3, 2024

The problem

After starting HA, the newly detected device (specifically Google Cast and Ibeacon tracker) will appear, if I give Ignore, nothing happens and an error will appear in the log

What version of Home Assistant Core has the issue?

2024.11.0b2

What was the last working version of Home Assistant Core?

2024.10

What type of installation are you running?

Home Assistant OS

Integration causing the issue

websocket_api

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.websocket_api.http.connection
Zdroj: data_entry_flow.py:498
integrace: Home Assistant WebSocket API (dokumentace, problémy)
První výskyt: 19:04:18 (1 výskyty)
Naposledy logováno: 19:04:18

[139766643000800] Error handling message: Unknown error (home_assistant_error) from (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 469, in ignore_config_flow
    await hass.config_entries.flow.async_init(
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1295, in async_init
    flow, result = await self._async_init(flow_id, handler, context, data)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1330, in _async_init
    result = await self._async_handle_step(flow, flow.init_step, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 572, in _async_handle_step
    result = await self.async_finish_flow(flow, result.copy())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1456, in async_finish_flow
    self.async_abort(progress_flow_id)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 467, in async_abort
    self._async_remove_flow_progress(flow_id)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 498, in _async_remove_flow_progress
    raise UnknownFlow
homeassistant.data_entry_flow.UnknownFlow

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Nov 4, 2024

Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (cast) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of cast 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 cast Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


cast documentation
cast source
(message by IssueLinks)

@emontnemery
Copy link
Contributor

This is caused by a regression introduced by #128189

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants