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 fan speed presets to VacuumInterface #1405

Merged
merged 36 commits into from
May 23, 2022

Conversation

2pirko
Copy link
Contributor

@2pirko 2pirko commented Apr 25, 2022

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2022

Codecov Report

Merging #1405 (372702a) into master (31c5d74) will increase coverage by 0.13%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##           master    #1405      +/-   ##
==========================================
+ Coverage   84.18%   84.31%   +0.13%     
==========================================
  Files         135      135              
  Lines       13348    13389      +41     
  Branches     1485     1493       +8     
==========================================
+ Hits        11237    11289      +52     
+ Misses       1900     1883      -17     
- Partials      211      217       +6     
Impacted Files Coverage Δ
miio/integrations/vacuum/roborock/vacuum.py 65.28% <75.00%> (+2.04%) ⬆️
miio/integrations/vacuum/mijia/g1vacuum.py 74.35% <77.77%> (+0.03%) ⬆️
miio/integrations/vacuum/viomi/viomivacuum.py 58.17% <77.77%> (+0.29%) ⬆️
...io/integrations/vacuum/dreame/dreamevacuum_miot.py 78.73% <100.00%> (+2.38%) ⬆️
...ions/vacuum/dreame/tests/test_dreamevacuum_miot.py 100.00% <100.00%> (ø)
...io/integrations/vacuum/roidmi/roidmivacuum_miot.py 89.73% <100.00%> (+0.24%) ⬆️
...ions/vacuum/roidmi/tests/test_roidmivacuum_miot.py 100.00% <100.00%> (ø)
miio/interfaces/__init__.py 100.00% <100.00%> (ø)
miio/interfaces/vacuuminterface.py 93.75% <100.00%> (+3.75%) ⬆️
... and 1 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@2pirko 2pirko changed the title Vacuum interface fan speed presets2 Vacuum interface fan speed presets Apr 25, 2022
@2pirko
Copy link
Contributor Author

2pirko commented Apr 25, 2022

@rytilahti , VacuumInterface update ready to merge !

miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
miio/interfaces/vacuuminterface.py Outdated Show resolved Hide resolved
miio/tests/test_vacuums.py Outdated Show resolved Hide resolved
miio/tests/test_vacuums.py Outdated Show resolved Hide resolved
miio/tests/test_vacuums.py Outdated Show resolved Hide resolved
miio/tests/test_vacuums.py Show resolved Hide resolved
@2pirko
Copy link
Contributor Author

2pirko commented Apr 26, 2022

@rytilahti , ready to merge!

miio/interfaces/vacuuminterface.py Outdated Show resolved Hide resolved
miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
docs/conf.py Outdated Show resolved Hide resolved
miio/tests/test_vacuums.py Show resolved Hide resolved
miio/tests/test_vacuums.py Show resolved Hide resolved
miio/integrations/vacuum/mijia/g1vacuum.py Outdated Show resolved Hide resolved
Copy link
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

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

Ready to go as soon as the conflict is fixed 👍

@2pirko
Copy link
Contributor Author

2pirko commented May 2, 2022

@rytilahti , it seems there is a new problem reported in code, which is not mine. Probably new pylint/flake8?

@rytilahti
Copy link
Owner

Looks like that https://github.com/JBKahn/flake8-print suddenly changed the error code from T001 to T201 in those files. Feel free to change those noqa entries as indicated by the flake8 run.

@2pirko
Copy link
Contributor Author

2pirko commented May 2, 2022

@rytilahti , merge now?

@2pirko
Copy link
Contributor Author

2pirko commented May 14, 2022

@rytilahti , I'm done with this pull request, you can merge it

1 similar comment
@2pirko
Copy link
Contributor Author

2pirko commented May 20, 2022

@rytilahti , I'm done with this pull request, you can merge it

@2pirko
Copy link
Contributor Author

2pirko commented May 22, 2022

@rytilahti , you can merge this pull request OR delete it.

@rytilahti rytilahti changed the title Vacuum interface fan speed presets Add fan speed presets to VacuumInterface May 23, 2022
@rytilahti
Copy link
Owner

I updated the docstrings & tidied the PR a bit, I'll merge as soon as the tests pass. Thanks @2pirko!

@rytilahti rytilahti merged commit a1def97 into rytilahti:master May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants