Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

fix mode selection and display for humidifier Dual 200S #2

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

vlebourl
Copy link
Owner

@vlebourl vlebourl commented Apr 1, 2022

No description provided.

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Apr 1, 2022

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 2.35%.

Quality metrics Before After Change
Complexity 2.05 ⭐ 2.44 ⭐ 0.39 👎
Method Length 26.53 ⭐ 28.07 ⭐ 1.54 👎
Working memory 4.18 ⭐ 4.83 ⭐ 0.65 👎
Quality 89.46% 87.11% -2.35% 👎
Other metrics Before After Change
Lines 136 149 13
Changed files Quality Before Quality After Quality Change
custom_components/vesync/humidifier.py 89.46% ⭐ 87.11% ⭐ -2.35% 👎

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@github-actions github-actions bot added the bug Something isn't working label Apr 1, 2022
@vlebourl vlebourl merged commit d2f06b0 into main Apr 1, 2022
@vlebourl vlebourl deleted the fix/fix-humidifier-dual-200S-modes branch April 1, 2022 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant