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

fix(device): no supported protocol caused high cpu usage #346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wuwentao
Copy link
Member

@github-actions github-actions bot added the bug Something isn't working label Dec 31, 2024
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
midealocal/device.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
midealocal/device.py 33.76% <0.00%> (-0.09%) ⬇️

@chemelli74
Copy link
Member

@wuwentao IMHO we should avoid all those sleep around the code and find a proper way to handle the loop

@wuwentao
Copy link
Member Author

wuwentao commented Jan 2, 2025

@wuwentao IMHO we should avoid all those sleep around the code and find a proper way to handle the loop

Thank you very much for you review comments, any good suggestion or solution ?

@chemelli74
Copy link
Member

Will check once back from my trip

@wuwentao wuwentao added this to the v6.0.4 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug(AC): AC设备No Query Protocol循环导致High CPU
2 participants