From 5d7fe61592d085c22df2616b340c8f9bc9847d1c Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 3 Aug 2026 09:22:04 +0200 Subject: [PATCH] Migrate zwave_js to call async_remove_device (#178060) --- homeassistant/components/zwave_js/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/zwave_js/__init__.py b/homeassistant/components/zwave_js/__init__.py index 340caab8481c..bd6930be8c21 100644 --- a/homeassistant/components/zwave_js/__init__.py +++ b/homeassistant/components/zwave_js/__init__.py @@ -676,10 +676,7 @@ class ControllerEvents: ): # If a device entry is registered with the node ID based identifiers, # just remove the device entry with the DSK identifier. - self.dev_reg.async_update_device( - pre_provisioned_device.id, - remove_config_entry_id=self.config_entry.entry_id, - ) + self.dev_reg.async_remove_device(pre_provisioned_device.id) else: # Add the node ID based identifiers to the device entry # with the DSK identifier and remove the DSK identifier.