8000 Fix logging in iotdevice when a module is module not supported by bdraco · Pull Request #1100 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

Fix logging in iotdevice when a module is module not supported #1100

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

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

bdraco
Copy link
Member
@bdraco bdraco commented Aug 22, 2024

This debug logger was generating the repr() of each module and throwing it away because it had a % instead of a ,
Screenshot 2024-08-22 at 6 41 10 PM

This debug logger was generating the `repr()` of each module
and throwing it away because it had a % instead of a ,
Copy link
codecov bot commented Aug 22, 2024

Codecov Report

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

Project coverage is 92.59%. Comparing base (beb7ca2) to head (bb01f40).
Report is 145 commits behind head on master.

Files with missing lines Patch % Lines
kasa/iot/iotdevice.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1100   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files          96       96           
  Lines        6073     6073           
  Branches     1496     1496           
=======================================
  Hits         5623     5623           
  Misses        351      351           
  Partials       99       99           

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


🚨 Try these New Features:

@bdraco bdraco changed the title Fix iotdevice module not supported logging Fix logging in iotdevice when a module is module not supported Aug 22, 2024
Copy link
Collaborator
@sdb9696 sdb9696 left a comment

Choose a reason for hiding this comment

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

LGTM!

@sdb9696 sdb9696 merged commit b6339be into master Aug 23, 2024
29 of 30 checks passed
@sdb9696 sdb9696 deleted the fix_debug branch August 23, 2024 09:56
@sdb9696 sdb9696 added the bug Something isn't working label Aug 30, 2024
@sdb9696 sdb9696 added this to the 0.7.2 milestone Aug 30, 2024
@sdb9696 sdb9696 mentioned this pull request Aug 30, 2024
sdb9696 added a commit that referenced this pull request Aug 30, 2024
## [0.7.2](https://github.com/python-kasa/python-kasa/tree/0.7.2) (2024-08-30)

[Full Changelog](0.7.1...0.7.2)

**Release summary:**

- **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature.
- Minor bugfixes and improvements.

**Breaking changes:**

- Disable automatic updating of latest firmware [\#1103](#1103) (@sdb9696)

**Implemented enhancements:**

- Improve performance of dict merge code [\#1097](#1097) (@bdraco)

**Fixed bugs:**

- Fix logging in iotdevice when a module is module not supported [\#1100](#1100) (@bdraco)

**Documentation updates:**

- Fix incorrect docs link in contributing.md [\#1099](#1099) (@sdb9696)

**Project maintenance:**

- Add flake8-pytest-style \(PT\) for ruff [\#1105](#1105) (@rytilahti)
- Add flake8-logging \(LOG\) and flake8-logging-format \(G\) for ruff [\#1104](#1104) (@rytilahti)
- Add missing typing\_extensions dependency [\#1101](#1101) (@sdb9696)
- Remove top level await xdoctest fixture [\#1098](#1098) (@sdb9696)
- Enable python 3.13, allow pre-releases for CI [\#1086](#1086) (@rytilahti)
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.

2 participants
0