feat: add device info and test data for Roborock Q Revo (a75) - #926
Open
allenporter wants to merge 1 commit into
Open
feat: add device info and test data for Roborock Q Revo (a75)#926allenporter wants to merge 1 commit into
allenporter wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Roborock Q Revo (model roborock.vacuum.a75, nickname PEARL) device/product metadata plus matching test fixtures and snapshot updates, enabling the test suite to validate feature/dock-type handling for this specific model.
Changes:
- Added a
roborock.vacuum.a75entry todevice_info.yaml(protocol/nickname/features + product schema). - Added new Home Data fixtures for product/device (
home_data_product_a75.json,home_data_device_q_revo.json). - Extended test mock dock-type mapping and updated Amber snapshots to include the new fixture.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
device_info.yaml |
Adds the roborock.vacuum.a75 device info block (nickname/features + product schema). |
tests/testdata/home_data_product_a75.json |
New product fixture representing the A75 schema. |
tests/testdata/home_data_device_q_revo.json |
New device fixture referencing the A75 product and feature-set fields. |
tests/mock_data.py |
Maps product-id-a75 to RoborockDockTypeCode.pearl_dock for dock-capability tests. |
tests/devices/traits/v1/__snapshots__/test_device_features.ambr |
Snapshot updates covering supported attributes/consumables for the Q Revo fixture. |
tests/__snapshots__/test_supported_features.ambr |
Snapshot updates for computed supported feature flags for the Q Revo fixture. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
allenporter
force-pushed
the
check_diagnostics_coverage_device
branch
from
August 25, 2026 15:15
a37ec93 to
1aac78a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds device info schema and test fixtures for the Roborock Q Revo (
roborock.vacuum.a75/PEARL).Data extracted from diagnostics in home-assistant/core#179965 (comment).
Changes
roborock.vacuum.a75todevice_info.yamlhome_data_device_q_revo.jsonandhome_data_product_a75.jsonfixturesproduct-id-a75toPRODUCT_DOCK_TYPE_MAP(pearl_dock) intests/mock_data.py