Skip to content

Conversation

@bieniu
Copy link
Member

@bieniu bieniu commented Nov 4, 2025

Breaking change

Proposed change

Bronze

  • action-setup - The integration does not register services.
  • appropriate-polling
  • brands
  • common-modules
  • config-flow-test-coverage
  • config-flow
    • Uses data_description to give context to fields
    • Uses ConfigEntry.data and ConfigEntry.options correctly
  • dependency-transparency
  • docs-actions - The integration does not register services.
  • docs-high-level-description
  • docs-installation-instructions
  • docs-removal-instructions
  • entity-event-setup
  • entity-unique-id
  • has-entity-name
  • runtime-data
  • test-before-configure
  • test-before-setup
  • unique-config-entry

Silver

  • action-exceptions The integration does not register services.
  • config-entry-unloading
  • docs-configuration-parameters No options to configure.
  • docs-installation-parameters
  • entity-unavailable
  • integration-owner
  • log-when-unavailable
  • parallel-updates
  • reauthentication-flow SNMP doesn't return error identifying an authentication problem, to change the SNMP community (simple password) the user should use reconfigure flow.
  • test-coverage
homeassistant/components/brother/__init__.py         35      0   100%
homeassistant/components/brother/config_flow.py      89      0   100%
homeassistant/components/brother/const.py            12      0   100%
homeassistant/components/brother/coordinator.py      21      0   100%
homeassistant/components/brother/diagnostics.py       8      0   100%
homeassistant/components/brother/entity.py            9      0   100%
homeassistant/components/brother/sensor.py           43      0   100%
-------------------------------------------------------------------------------
TOTAL                                               217      0   100%

Gold

  • devices
  • diagnostics
  • discovery-update-info
  • discovery
  • docs-data-update
  • docs-examples
  • docs-known-limitations
  • docs-supported-devices
  • docs-supported-functions
  • docs-troubleshooting No known issues that could be resolved by the user.
  • docs-use-cases
  • dynamic-devices This integration has a fixed single device.
  • entity-category
  • entity-device-class
  • entity-disabled-by-default
  • entity-translations
  • exception-translations
  • icon-translations
  • reconfiguration-flow
  • repair-issues This integration doesn't have any cases where raising an issue is needed.
  • stale-devices This integration has a fixed single device.

Platinum

  • async-dependency - Dependency is async
  • inject-websession - The integration dependency supports passing in a websession
  • strict-typing - Strict typing

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to frontend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.

To help with the load of incoming pull requests:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds Platinum quality scale certification to the Brother printer integration. The Brother integration has met all the requirements for the Platinum tier of Home Assistant's Integration Quality Scale.

Key Changes:

  • Added "quality_scale": "platinum" to the manifest.json
  • Created quality_scale.yaml with comprehensive rule status tracking
  • Removed "brother" from exemption lists in quality_scale.py validation script

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
homeassistant/components/brother/manifest.json Added quality_scale field set to "platinum"
homeassistant/components/brother/quality_scale.yaml New file documenting all quality scale rules with status (done/exempt) and justification comments
script/hassfest/quality_scale.py Removed "brother" from two exemption lists, allowing validation to proceed


# Platinum
async-dependency: done
inject-websession: done
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inject-websession rule is marked as done, but the Brother integration uses SNMP for communication, not HTTP. Since the integration doesn't connect via HTTP, this rule should be marked as exempt with a comment explaining why. Change to:\nyaml\ninject-websession:\n status: exempt\n comment: The integration does not connect via HTTP.\n\nThis pattern follows other non-HTTP integrations like apcupsd which use SNMP or other protocols.

Copilot generated this review using guidance from repository custom instructions.
comment: The integration does not register services.
docs-high-level-description: done
docs-installation-instructions: done
docs-removal-instructions: done
Copy link
Contributor

@mik-laj mik-laj Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-11-05 at 00 08 59

It is is already duplicated. We have two sections in TOC.

docs-known-limitations: done
docs-supported-devices: done
docs-supported-functions: done
docs-troubleshooting:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a common problem can be not finding devices on the network or invalid host/IP, and then a solution is to look at the zeroconf browser to see what devices are on the network.

has-entity-name: done
runtime-data: done
test-before-configure: done
test-before-setup: done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that this is not strictly required by the documentation, but I think that we should also check not only the host, password, but also whether the serial number is correct and matches the one saved in config entry.

docs-supported-devices: done
docs-supported-functions: done
docs-troubleshooting:
status: exempt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another issue is the password. The user can change the password on the device and then need to update the configuration. The documentation should describe how to do this.

In general, for each type of exception you can write a few words - ConnectionError, SnmpError, UnsupportedModelError.

except (ConnectionError, SnmpError, TimeoutError) as error:


# Gold
devices: done
diagnostics: done
Copy link
Contributor

@mik-laj mik-laj Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding config_entry to diagnostic information? It is already covered by example implemtnation in documentation: https://developers.home-assistant.io/docs/core/integration-quality-scale/rules/diagnostics/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants