From 9983ce4ccb7fa252ded307c86057736b1e4f5e9e Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 3 Aug 2026 12:18:06 +0200 Subject: [PATCH] Migrate gatus to call async_remove_device (#178053) --- homeassistant/components/gatus/coordinator.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/gatus/coordinator.py b/homeassistant/components/gatus/coordinator.py index df4ad9545d52..8308861a5610 100644 --- a/homeassistant/components/gatus/coordinator.py +++ b/homeassistant/components/gatus/coordinator.py @@ -70,10 +70,7 @@ class GatusDataUpdateCoordinator(DataUpdateCoordinator[dict[str, EndpointStatus] and identifier[1].removeprefix(f"{self._entry_id}_") in stale_keys for identifier in device.identifiers ): - device_registry.async_update_device( - device.id, - remove_config_entry_id=self._entry_id, - ) + device_registry.async_remove_device(device.id) self._known_endpoint_keys = current_keys return {ep.key: ep for ep in raw_endpoints}