From 1eca2b0c9ab55868e7d4a44b223dc2ba3217fe9a Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Tue, 4 Feb 2020 16:20:42 -0800 Subject: [PATCH] Add cleanup to gold quality scale (#399) --- docs/integration_quality_scale_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/integration_quality_scale_index.md b/docs/integration_quality_scale_index.md index 4d0f1a53..cea2d053 100644 --- a/docs/integration_quality_scale_index.md +++ b/docs/integration_quality_scale_index.md @@ -41,6 +41,7 @@ This is a solid integration that is able to survive poor conditions and can be c - Entities only subscribe to updates inside `async_added_to_hass` and unsubscribe inside `async_will_remove_from_hass` ([docs](entity_index.md#lifecycle-hooks)) - Entities have correct device classes where appropriate ([docs](entity_index.md#generic-properties)) - Supports entities being disabled and leverages `Entity.entity_registry_enabled_default` to disable less popular entities ([docs](entity_index.md#advanced-properties)) +- If the device/service API can remove entities, the integration should make sure to clean up the entity and device registry. # Platinum 🏆