lightener icon indicating copy to clipboard operation
lightener copied to clipboard

Unable to delete a device

Open spresse1 opened this issue 10 months ago • 0 comments

I made a test device, then tried to delete it. This is the error I get in the logs:

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/device_registry.py", line 134, in websocket_remove_config_entry_from_device
    if not await component.async_remove_config_entry_device(
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        hass, config_entry, device_entry
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ):
    ^
TypeError: async_remove_config_entry_device() takes 0 positional arguments but 3 were given

spresse1 avatar Mar 20 '25 21:03 spresse1