From f2791fa2d33c9bd217511ef7e87f7cec403affe5 Mon Sep 17 00:00:00 2001 From: TengfeiLi <115617397+tengfeili-qingping@users.noreply.github.com> Date: Tue, 13 Oct 2026 02:35:50 +0800 Subject: [PATCH] Promote Qingping integration to gold quality scale (#182386) Co-authored-by: Claude Code Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../components/qingping/manifest.json | 1 + .../components/qingping/quality_scale.yaml | 127 ++++++++++++++++++ script/hassfest/quality_scale.py | 2 - 3 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 homeassistant/components/qingping/quality_scale.yaml diff --git a/homeassistant/components/qingping/manifest.json b/homeassistant/components/qingping/manifest.json index eb5ea8816bda..0ac8e2a5f852 100644 --- a/homeassistant/components/qingping/manifest.json +++ b/homeassistant/components/qingping/manifest.json @@ -21,5 +21,6 @@ "documentation": "https://www.home-assistant.io/integrations/qingping", "integration_type": "device", "iot_class": "local_push", + "quality_scale": "gold", "requirements": ["qingping-ble==1.1.6"] } diff --git a/homeassistant/components/qingping/quality_scale.yaml b/homeassistant/components/qingping/quality_scale.yaml new file mode 100644 index 000000000000..e48e8b34deb7 --- /dev/null +++ b/homeassistant/components/qingping/quality_scale.yaml @@ -0,0 +1,127 @@ +rules: + # Bronze + action-setup: + status: exempt + comment: No custom actions are defined. + appropriate-polling: + status: exempt + comment: | + Passive integration; data is pushed via Bluetooth advertisements. + brands: done + common-modules: done + config-flow-test-coverage: done + config-flow: done + dependency-transparency: done + docs-actions: + status: exempt + comment: No custom actions are defined. + docs-conditions: + status: exempt + comment: This integration does not have any conditions. + docs-high-level-description: done + docs-installation-instructions: done + docs-removal-instructions: done + docs-triggers: + status: exempt + comment: This integration does not have any triggers. + entity-event-setup: + status: done + comment: | + Subscriptions are handled by the PassiveBluetoothProcessorEntity base class. + entity-unique-id: done + has-entity-name: done + runtime-data: done + test-before-configure: + status: done + comment: | + The config flow checks the advertisement is supported and waits for a + complete advertisement before creating the config entry. + test-before-setup: + status: exempt + comment: | + Sleepy passive device that may not be advertising at setup time; no + connection is made. + unique-config-entry: done + # Silver + action-exceptions: + status: exempt + comment: No custom actions are defined. + config-entry-unloading: done + docs-configuration-parameters: + status: exempt + comment: The integration has no configuration parameters. + docs-installation-parameters: done + entity-unavailable: + status: done + comment: | + Availability is handled by the passive bluetooth coordinator. These are + sleepy devices, so once seen the entities use assumed_state rather than + becoming unavailable. + integration-owner: done + log-when-unavailable: + status: done + comment: Handled by the passive bluetooth coordinator. + parallel-updates: + status: done + comment: | + The integration is passive and does not poll or call service actions. + reauthentication-flow: + status: exempt + comment: No authentication is required. + test-coverage: done + + # Gold + devices: done + diagnostics: done + discovery: + status: done + comment: The integration is discovered via Bluetooth. + discovery-update-info: + status: exempt + comment: | + The device is identified by its static Bluetooth address; there is no + network information to update. + docs-data-update: done + docs-examples: done + docs-known-limitations: done + docs-supported-devices: done + docs-supported-functions: done + docs-troubleshooting: done + docs-use-cases: done + dynamic-devices: + status: exempt + comment: Each config entry represents a single device. + entity-category: done + entity-device-class: done + entity-disabled-by-default: done + entity-translations: done + exception-translations: + status: exempt + comment: No custom exceptions are defined. + icon-translations: + status: exempt + comment: Entities derive their icons from their device classes. + reconfiguration-flow: + status: exempt + comment: | + There is nothing to reconfigure; the device is identified by its fixed + Bluetooth address. + repair-issues: + status: exempt + comment: No repair issues are raised. + stale-devices: + status: done + comment: | + The device can be removed from the device registry once it is no longer + available. + + # Platinum + async-dependency: + status: done + comment: | + The qingping-ble dependency is a pure advertisement parser and performs no + blocking I/O. + inject-websession: + status: exempt + comment: The integration does not make HTTP requests. + strict-typing: todo diff --git a/script/hassfest/quality_scale.py b/script/hassfest/quality_scale.py index 4fd804299b0b..39f01eb3b2c8 100644 --- a/script/hassfest/quality_scale.py +++ b/script/hassfest/quality_scale.py @@ -711,7 +711,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [ "pushsafer", "pvpc_hourly_pricing", "qbittorrent", - "qingping", "qld_bushfire", "qnap", "qnap_qsw", @@ -1640,7 +1639,6 @@ INTEGRATIONS_WITHOUT_SCALE = [ "pushsafer", "pvpc_hourly_pricing", "qbittorrent", - "qingping", "qld_bushfire", "qnap", "qnap_qsw",