From 7da339b59cb282413f9b8e6ce8b7f1392fbf6910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Bregu=C5=82a?= Date: Fri, 13 Feb 2026 18:01:44 +0100 Subject: [PATCH] Add quality scale for GIOS (#155603) Co-authored-by: mik-laj <12058428+mik-laj@users.noreply.github.com> --- .../components/gios/quality_scale.yaml | 101 ++++++++++++++++++ script/hassfest/quality_scale.py | 1 - 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/gios/quality_scale.yaml diff --git a/homeassistant/components/gios/quality_scale.yaml b/homeassistant/components/gios/quality_scale.yaml new file mode 100644 index 00000000000..cab565d35cf --- /dev/null +++ b/homeassistant/components/gios/quality_scale.yaml @@ -0,0 +1,101 @@ +rules: + # Other comments: + # - we could consider removing the air quality entity removal + + # Bronze + action-setup: + status: exempt + comment: No custom actions are defined. + appropriate-polling: done + brands: done + common-modules: done + config-flow-test-coverage: + status: todo + comment: + We should have the happy flow as the first test, which can be merged with test_show_form. + The config flow tests are missing adding a duplicate entry test. + config-flow: + status: todo + comment: Limit the scope of the try block in the user step + dependency-transparency: done + docs-actions: + status: exempt + comment: No custom actions are defined. + docs-high-level-description: done + docs-installation-instructions: done + docs-removal-instructions: done + entity-event-setup: done + entity-unique-id: done + has-entity-name: done + runtime-data: + status: todo + comment: No direct need to wrap the coordinator in a dataclass to store in the config entry + test-before-configure: done + test-before-setup: done + 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: No options flow + docs-installation-parameters: done + entity-unavailable: done + integration-owner: done + log-when-unavailable: done + parallel-updates: done + reauthentication-flow: + status: exempt + comment: This integration does not require authentication. + test-coverage: + status: todo + comment: + The `test_async_setup_entry` should test the state of the mock config entry, instead of an entity state + The `test_availability` doesn't really do what it says it does, and this is now already tested via the snapshot tests. + + # Gold + devices: done + diagnostics: done + discovery-update-info: + status: exempt + comment: This integration is a cloud service and thus does not support discovery. + discovery: + status: exempt + comment: This integration is a cloud service and thus does not support discovery. + docs-data-update: done + docs-examples: done + docs-known-limitations: done + docs-supported-devices: + status: exempt + comment: This is an service, which doesn't integrate with any devices. + docs-supported-functions: done + docs-troubleshooting: done + docs-use-cases: done + dynamic-devices: + status: exempt + comment: This integration does not have devices. + entity-category: done + entity-device-class: + status: todo + comment: We can use the CO device class for the carbon monoxide sensor + entity-disabled-by-default: done + entity-translations: + status: todo + comment: We can remove the options state_attributes. + exception-translations: done + icon-translations: done + reconfiguration-flow: + status: exempt + comment: Only parameter that could be changed station_id would force a new config entry. + repair-issues: done + stale-devices: + status: exempt + comment: This integration does not have devices. + + # Platinum + async-dependency: done + inject-websession: done + strict-typing: done diff --git a/script/hassfest/quality_scale.py b/script/hassfest/quality_scale.py index 16e52763c18..f3d7acaf653 100644 --- a/script/hassfest/quality_scale.py +++ b/script/hassfest/quality_scale.py @@ -413,7 +413,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [ "geofency", "geonetnz_quakes", "geonetnz_volcano", - "gios", "github", "gitlab_ci", "gitter",