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

Suppress deprecated accesses to properties for devicestatus repr #1487

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

rytilahti
Copy link
Owner

Using the context manager was not enough to suppress the deprecated warnings, this will fix that.

@rytilahti rytilahti added the bug label Aug 11, 2022
@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2022

Codecov Report

Merging #1487 (09555ab) into master (c1f6b1f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1487   +/-   ##
=======================================
  Coverage   82.50%   82.50%           
=======================================
  Files         140      140           
  Lines       13908    13908           
  Branches     3305     3305           
=======================================
  Hits        11475    11475           
  Misses       2214     2214           
  Partials      219      219           
Impacted Files Coverage Δ
miio/device.py 55.84% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rytilahti rytilahti merged commit 015fe47 into master Aug 11, 2022
@rytilahti rytilahti deleted the fix/suppress_devicestatus_repr_warnings branch August 11, 2022 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants