home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.7k stars 30.82k forks source link

It is not possible to ignore detected devices #129744

Closed leroyloren closed 1 week ago

leroyloren commented 1 week ago

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[bot] commented 1 week ago

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 commented 1 week ago

This is caused by a regression introduced by #128189