-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix X2 Omni #552
Fix X2 Omni #552
Conversation
WalkthroughThe recent changes update the Changes
Poem
Tip We have updated our review workflow to use the Anthropic's Claude family of models. Please share any feedback in the discussion post on our Discord. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- deebot_client/commands/json/clean.py (1 hunks)
- deebot_client/hardware/deebot/e6ofmn.py (3 hunks)
Additional comments not posted (4)
deebot_client/commands/json/clean.py (1)
85-85
: LGTM! The change improves the function's capability.The use of a bitwise OR operator to handle both
STOP
andPAUSE
actions is logical and enhances the function's capability.deebot_client/hardware/deebot/e6ofmn.py (3)
29-29
: LGTM! The import changes are appropriate.Replacing the older cleaning command classes with their newer versions suggests an enhancement in functionality.
115-115
: LGTM! The update toCapabilityClean
is appropriate.The shift to
CleanV2
indicates an improvement in the underlying implementation of the cleaning command.
211-211
: LGTM! The update toCapabilityEvent
is appropriate.Including
GetCleanInfoV2
likely provides more detailed or structured data about the cleaning state.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #552 +/- ##
=======================================
Coverage 86.67% 86.67%
=======================================
Files 89 89
Lines 3324 3324
Branches 533 533
=======================================
Hits 2881 2881
Misses 389 389
Partials 54 54 ☔ View full report in Codecov by Sentry. |
Hi, I have have home assistant on docker and I have a deeboot X2 but I don't know how I can try your code on my installation. |
I would recommend spinning up a home assistant dev env, where you manually install this branch. |
It confirmed working for me in my Hass Dev instance :) Great work !!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- deebot_client/commands/json/clean.py (1 hunks)
Additional comments not posted (1)
deebot_client/commands/json/clean.py (1)
88-88
: LGTM!The code changes are approved. The update to the case statement for handling both
CleanAction.STOP
andCleanAction.PAUSE
actions together is a good enhancement that streamlines the logic.
See home-assistant/core#110177
Summary by CodeRabbit
New Features
Bug Fixes