Migrate gatus to call async_remove_device (#178053)

This commit is contained in:
Erik Montnemery
2026-08-04 14:33:57 +02:00
committed by Bram Kragten
parent 28754d012e
commit 9983ce4ccb
@@ -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}