From 49cf66269ce8008b357cf3222eaca0687efadc2d Mon Sep 17 00:00:00 2001 From: Retha Runolfsson <137745329+zerzhang@users.noreply.github.com> Date: Mon, 26 May 2025 21:06:07 +0800 Subject: [PATCH] =?UTF-8?q?Set=20quality=20scale=20to=20=F0=9F=A5=87=20gol?= =?UTF-8?q?d=20for=20switchbot=20integration=20(#144608)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update quality scale * update to gold --- homeassistant/components/switchbot/manifest.json | 1 + homeassistant/components/switchbot/quality_scale.yaml | 6 ++---- script/hassfest/quality_scale.py | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/switchbot/manifest.json b/homeassistant/components/switchbot/manifest.json index dfbfd9335a5..eadd3ad2a2d 100644 --- a/homeassistant/components/switchbot/manifest.json +++ b/homeassistant/components/switchbot/manifest.json @@ -40,5 +40,6 @@ "documentation": "https://www.home-assistant.io/integrations/switchbot", "iot_class": "local_push", "loggers": ["switchbot"], + "quality_scale": "gold", "requirements": ["PySwitchbot==0.64.1"] } diff --git a/homeassistant/components/switchbot/quality_scale.yaml b/homeassistant/components/switchbot/quality_scale.yaml index b8db573f405..5226016c527 100644 --- a/homeassistant/components/switchbot/quality_scale.yaml +++ b/homeassistant/components/switchbot/quality_scale.yaml @@ -40,13 +40,11 @@ rules: Once a cryptographic key is successfully obtained for SwitchBot devices, it will be granted perpetual validity with no expiration constraints. test-coverage: - status: todo - comment: | - Consider using snapshots for fixating all the entities a device creates. + status: done # Gold devices: done - diagnostics: todo + diagnostics: done discovery-update-info: status: exempt comment: | diff --git a/script/hassfest/quality_scale.py b/script/hassfest/quality_scale.py index 11d3af590a0..f27106570bd 100644 --- a/script/hassfest/quality_scale.py +++ b/script/hassfest/quality_scale.py @@ -2030,7 +2030,6 @@ INTEGRATIONS_WITHOUT_SCALE = [ "swisscom", "switch_as_x", "switchbee", - "switchbot", "switchbot_cloud", "switcher_kis", "switchmate",