Skip to content

feat: add device info and test data for Roborock Q Revo (a75) - #926

Open
allenporter wants to merge 1 commit into
Python-roborock:mainfrom
allenporter:check_diagnostics_coverage_device
Open

feat: add device info and test data for Roborock Q Revo (a75)#926
allenporter wants to merge 1 commit into
Python-roborock:mainfrom
allenporter:check_diagnostics_coverage_device

Conversation

@allenporter

Copy link
Copy Markdown
Contributor

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

  • Added roborock.vacuum.a75 to device_info.yaml
  • Added home_data_device_q_revo.json and home_data_product_a75.json fixtures
  • Added product-id-a75 to PRODUCT_DOCK_TYPE_MAP (pearl_dock) in tests/mock_data.py
  • Updated test snapshots

Copilot AI lite review requested due to automatic review settings August 25, 2026 15:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.a75 entry to device_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
allenporter force-pushed the check_diagnostics_coverage_device branch from a37ec93 to 1aac78a Compare August 25, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants