lightener
lightener copied to clipboard
Unable to delete a device
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