Repository navigation
chore: add Qrevo S Pro device data - #1052
Conversation
Add the device_info.yaml entry for the Qrevo S Pro (roborock.vacuum.a326), built from the Home Assistant diagnostics of a robot on firmware 02.49.24. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MDuicnBiqDx6Yc8hyG6p1o
saruk-vedant
left a comment
There was a problem hiding this comment.
Thanks for adding the Qrevo S Pro. I checked the new entry against the Qrevo 2 Pro (a294) on main and it matches that schema exactly except for data point 143, which you already call out in the description, and the feature_info and new_feature_info values line up too. Appending the entry at the end of the file follows the existing convention.
Two small questions, neither blocking:
-
Data point 143 (map_diff) is present on the Qrevo 2 Pro but missing here. Is it genuinely absent from the S Pro's diagnostics, or was it dropped by the dump script? A quick look at the raw diagnostics would settle it.
-
clean_task_type (138) has a bare "0" to "9" range here, while the Qrevo 2 Pro carries the documented label for each value ("0 空闲", "1 全屋清洁", "2 选区清洁", and so on through "9 整理"). If the S Pro's values mean the same things, carrying the labels over would keep the file consistent. If the S Pro's dump genuinely reports bare numbers, it is fine as is.
One related note: open PR #1046 maps a325 and a326 to PEARLEH in the V1 code mappings, so these two PRs are related. This one touches device_info.yaml and that one touches the code mappings, so they do not conflict, but it is worth knowing the order they land in.
I also noticed the product id is redacted here. The product name redaction has precedent in the file (a123 and a27 both redact the name), but no entry redacts the id, so a future re-dump check would need the real id. Not a problem for this PR, just noting it.
Approving: the entry looks right, and the points above are questions rather than defects.
Lash-L
left a comment
There was a problem hiding this comment.
Automated code review by Gemini 4 Neon in Antigravity using our /review (/code-review) skill (.agents/skills/code-review/SKILL.md / AGENTS.md).
Review Summary
Scope: Data-only addition to device_info.yaml (+144 lines) adding the Qrevo S Pro (roborock.vacuum.a326).
- Priority 1 (Public Trait APIs & Consumer Contracts): No changes; N/A.
- Priority 2 (Data Lifecycle & State Management): No changes; N/A.
- Priority 3 (Wire Protocols, Codecs & Cryptography): No changes; N/A.
- Data, Schema & Privacy Verification:
- Format & Deserialization: Valid YAML matching
yaml.safe_dump(..., sort_keys=False)output ofroborock get-device-info --diagnostic-filebyte-for-byte, with all embedded JSONpropertystrings valid. Verified deserialization throughHomeDataProduct.from_dict()(RoborockCategory.VACUUM, 21 schema entries) andDeviceFeatures.from_feature_flags()(110 supported features resolved cleanly). - Privacy / Redaction: No personal or device-unique data present (no DUIDs, tokens, local keys, MACs, SSIDs, IPs, emails, or serial numbers).
product.nameis'**REDACTED**'(matching existinga123anda27entries), andproduct.id(4Snq4xVLaWSyq2PjbSGV1j) is the shared cloud product ID (consistent with all otherproductentries indevice_info.yaml). - Conventions: Appending to
device_info.yamlwithout regeneratingSUPPORTED_FEATURES.mdmatches recent precedents (#1028, #1031);product_nickname: Unknownmatchesmaintoday (pending #1046 mappinga325/a326toPEARLEH); Conventional Commit title/message and hygiene checks pass.
- Format & Deserialization: Valid YAML matching
Verdict: Clean — no defects found after adversarial self-check; ready to approve.
|
Thanks for the merge! For the record, on the review questions: 143 is genuinely absent (the schema in the raw Home Assistant diagnostics stops at 142, Generated by Claude Code |
Adds the
device_info.yamlentry for the Qrevo S Pro (roborock.vacuum.a326), which the catalogue does not have yet.roborock get-device-info --diagnostic-filereads, in the same order, and dumped them the same way (yaml.safe_dump(sort_keys=False)). Re-dumping the 16 existing entries that way gives each of them back byte for byte. The entry is appended at the end of the file, as in chore: add Saros 10R device info #1031.product.nameis**REDACTED**because the diagnostics redact it. Home Assistant shows the robot as "Qrevo S Pro Series".product_nicknameisUnknown, which is whatmaingives this model today. feat: add V1 product nicknames for models that fall back to PEARLPLUS #1046 maps a325/a326 toPEARLEH; I can update the line here if that lands first."0"to"9"range on 138 (clean_task_type).Only
device_info.yamlchanges.SUPPORTED_FEATURES.mdis not regenerated here, as in #1028 and #1031.Done with AI assistance.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MDuicnBiqDx6Yc8hyG6p1o