-
-
Notifications
You must be signed in to change notification settings - Fork 150
Add support for Ozmo T8 #638
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
Conversation
Added Ozmo T8
Ozmo T8
Create h18jkh.py
WalkthroughA new file named Changes
Possibly related PRs
Suggested labels
Suggested reviewers
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: 2
🧹 Outside diff range and nitpick comments (1)
deebot_client/hardware/deebot/h18jkh.py (1)
1-1: Guidance: Creating a proper symlinkIf the intention is to create a symlink to
x5d34r.pyas mentioned in issue #612, this should be done at the filesystem level, not by creating a text file. Here's how to create the symlink:
- Remove this file
- Create a symbolic link using:
cd deebot_client/hardware/deebot/ ln -s x5d34r.py h18jkh.pyThis will ensure proper module loading and inheritance of device capabilities from the target module.
🧰 Tools
🪛 Ruff (0.8.0)
1-1: Found useless expression. Either assign it to a variable or remove it.
(B018)
1-1: Undefined name
x5d34r(F821)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
deebot_client/hardware/deebot/h18jkh.py(1 hunks)tests/hardware/test_init.py(1 hunks)
🧰 Additional context used
🪛 Ruff (0.8.0)
deebot_client/hardware/deebot/h18jkh.py
1-1: Found useless expression. Either assign it to a variable or remove it.
(B018)
1-1: Undefined name x5d34r
(F821)
|
I created this symlink in my HA installation and the vacuum seems to work fine 👍 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #638 +/- ##
=======================================
Coverage 86.68% 86.68%
=======================================
Files 90 90
Lines 3365 3365
Branches 298 298
=======================================
Hits 2917 2917
Misses 394 394
Partials 54 54 ☔ View full report in Codecov by Sentry. |
edenhaus
left a comment
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.
Thanks @HxNetwork 👍
Please Symlink as described in
#612 (comment)
Summary by CodeRabbit
New Features
"h18jkh"for enhanced compatibility.Bug Fixes