diff --git a/homeassistant/components/brother/manifest.json b/homeassistant/components/brother/manifest.json index 4fa2af67043..c5ac74e94d2 100644 --- a/homeassistant/components/brother/manifest.json +++ b/homeassistant/components/brother/manifest.json @@ -8,6 +8,7 @@ "integration_type": "device", "iot_class": "local_polling", "loggers": ["brother", "pyasn1", "pysmi", "pysnmp"], + "quality_scale": "platinum", "requirements": ["brother==5.1.1"], "zeroconf": [ { diff --git a/homeassistant/components/brother/quality_scale.yaml b/homeassistant/components/brother/quality_scale.yaml new file mode 100644 index 00000000000..4c4dde5708d --- /dev/null +++ b/homeassistant/components/brother/quality_scale.yaml @@ -0,0 +1,78 @@ +rules: + # Bronze + action-setup: + status: exempt + comment: The integration does not register services. + appropriate-polling: done + brands: done + common-modules: done + config-flow-test-coverage: done + config-flow: done + dependency-transparency: done + docs-actions: + status: exempt + comment: The integration does not register services. + 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: done + test-before-configure: done + test-before-setup: done + unique-config-entry: done + + # Silver + action-exceptions: + status: exempt + comment: The integration does not register services. + config-entry-unloading: done + docs-configuration-parameters: + status: exempt + comment: No options to configure. + docs-installation-parameters: done + entity-unavailable: done + integration-owner: done + log-when-unavailable: done + parallel-updates: done + reauthentication-flow: + status: exempt + comment: SNMP doesn't return error identifying an authentication problem, to change the SNMP community (simple password) the user should use reconfigure flow. + test-coverage: done + + # Gold + devices: done + diagnostics: done + discovery-update-info: done + discovery: done + 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: This integration has a fixed single device. + entity-category: done + entity-device-class: done + entity-disabled-by-default: done + entity-translations: done + exception-translations: done + icon-translations: done + reconfiguration-flow: done + repair-issues: + status: exempt + comment: This integration doesn't have any cases where raising an issue is needed. + stale-devices: + status: exempt + comment: This integration has a fixed single device. + + # Platinum + async-dependency: done + inject-websession: + status: exempt + comment: The integration does not connect via HTTP instead it uses a shared SNMP engine. + strict-typing: done diff --git a/script/hassfest/quality_scale.py b/script/hassfest/quality_scale.py index 80b19dedf97..8bd9750ea7c 100644 --- a/script/hassfest/quality_scale.py +++ b/script/hassfest/quality_scale.py @@ -219,7 +219,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [ "bosch_shc", "braviatv", "broadlink", - "brother", "brottsplatskartan", "browser", "brunt", @@ -1226,7 +1225,6 @@ INTEGRATIONS_WITHOUT_SCALE = [ "bosch_shc", "braviatv", "broadlink", - "brother", "brottsplatskartan", "browser", "brunt",