feat: Recognize Q10 devices and add a command trait #721
Merged
allenporter merged 3 commits intoPython-roborock:mainfrom Dec 30, 2025
Merged
feat: Recognize Q10 devices and add a command trait #721allenporter merged 3 commits intoPython-roborock:mainfrom
allenporter merged 3 commits intoPython-roborock:mainfrom
Conversation
Add the ability to send commands to roborock CLI. This adds a single trait for sending commands, using a blend of approaches from Python-roborock#692 and Python-roborock#709
Moves the mock API responses to json files to make them easier to collect for new device types and modify in tests.
Lash-L
reviewed
Dec 30, 2025
Lash-L
approved these changes
Dec 30, 2025
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.
This adds CLI support and end to end tests in the device manager.
This has a large test refactoring that restructure mock data and snapshot values for unrelated tests: The mock data for devices/products are moved to json files so that we can more easily manipulate the set of devices/products returned in Home Data API response and make it easier to capture for new devices going forward.
This is based on a mix of approaches from #709 and #692