Skip to content
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

Support mop autowash interval #677

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

XxInvictus
Copy link
Contributor

Ref #555

  • Add support for Mop Auto-Wash Frequency
  • Add Capability to T20/T30 Omni/X5 Pro Omni via p1jij8.py

Tested/Validated with X5 Pro Omni:
image
image

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.54%. Comparing base (c7a9b2f) to head (84a34c8).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #677      +/-   ##
==========================================
+ Coverage   86.39%   86.54%   +0.14%     
==========================================
  Files          96       98       +2     
  Lines        3551     3589      +38     
  Branches      307      308       +1     
==========================================
+ Hits         3068     3106      +38     
  Misses        429      429              
  Partials       54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@XxInvictus XxInvictus force-pushed the support_mop_autowash_interval branch 3 times, most recently from 32e6f0c to cdb91bf Compare December 13, 2024 08:15
@XxInvictus
Copy link
Contributor Author

Finally have all pre-commit.ci checks passing 🎉

@edenhaus
Copy link
Contributor

Can you confirm that the T20 (p1jij8) has this feature?

@edenhaus edenhaus added the pr: new-feature PR, which adds a new feature label Dec 13, 2024
@XxInvictus
Copy link
Contributor Author

I can't confirm one way or the other, this isn't a feature which is advertised in marketing material so it's completely unknown. Given I can't say with 100% certainty happy to update to split T30 Omni and X5 Pro Omni into their own file to ensure there is no clash.

@XxInvictus
Copy link
Contributor Author

Looks like I just managed to confirm it, mentions it in this review

and lets you customize the vacuuming and mopping settings for each room, as well as the mop washing frequency

Ref DeebotUniverse#555
- Add support for Mop Auto-Wash Frequency
- Add Capability to T20/T30 Omni/X5 Pro Omni via `p1jij8.py`

Fix missing list seperator

Make pre-commit happy

Fix error in SetAutoMopWashFrequency test case

Small fix to resolve Mop Auto Wash and checkers not agreeing with int

Ruff lint/format

Ruff Linting/Fixes
@XxInvictus XxInvictus force-pushed the support_mop_autowash_interval branch from af4ff42 to 84a34c8 Compare December 14, 2024 14:28
class MopAutoWashFrequency(IntEnum):
"""Enum class for all possible mop auto-wash frequencies."""

TEN_MINUTES = 10
Copy link
Contributor

Choose a reason for hiding this comment

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

As the values are numbers, can we also set the interval to 1 minute? And would the bot respect this set one minute?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't seem like it, there may be some other magic values but these are the available presets for the X5 Pro Omni.

Copy link

@Padparadscha Padparadscha Dec 24, 2024

Choose a reason for hiding this comment

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

In the App from T30 I can only chose between 10, 15 and 25 minutes for time based mop auto wash.
The other option is mop after room
WhatsApp Bild 2024-12-24 um 14 49 23_2b0281c4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new-feature PR, which adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants