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

Add new command: "AutoEmpty" #349

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

Conversation

MVladislav
Copy link
Contributor

@MVladislav MVladislav commented Nov 15, 2023

Add new command: "AutoEmpty"

See more general info and details under discussion.

Ecovacs Home App Home Assistant
setAutoEmpty setAutoEmpty_home

Copy link

codecov bot commented Nov 15, 2023

Codecov Report

Attention: Patch coverage is 83.75000% with 13 lines in your changes missing coverage. Please review.

Project coverage is 78.76%. Comparing base (8c131fc) to head (ee267ba).
Report is 138 commits behind head on dev.

Files Patch % Lines
deebot_client/util.py 61.76% 11 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #349      +/-   ##
==========================================
+ Coverage   78.62%   78.76%   +0.14%     
==========================================
  Files          64       66       +2     
  Lines        2610     2689      +79     
  Branches      470      483      +13     
==========================================
+ Hits         2052     2118      +66     
- Misses        515      526      +11     
- Partials       43       45       +2     

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

@edenhaus edenhaus added the pr: new-feature PR, which adds a new feature label Nov 16, 2023
edenhaus and others added 6 commits November 16, 2023 12:53
@@ -88,6 +88,55 @@ def __hash__(self) -> int:
return hash(self._value_)


@unique
class DisplayNameStrEnum(Enum):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you adding this enum back?

Copy link
Contributor Author

@MVladislav MVladislav Dec 11, 2023

Choose a reason for hiding this comment

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

Because inside the event auto_empty.py in class AutoEmptyMod i used instead of integer enums - string enums. For that I copy the existing int enum definition to have it with same functions for string enum.

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.

2 participants