Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Leverage data from UDP discovery to initialize device structure#132

Merged
rytilahti merged 6 commits into
python-kasa:masterpython-kasa/python-kasa:masterfrom
dlee1j1:masterdlee1j1/python-kasa:masterCopy head branch name to clipboard
Feb 6, 2021
Merged

Leverage data from UDP discovery to initialize device structure#132
rytilahti merged 6 commits into
python-kasa:masterpython-kasa/python-kasa:masterfrom
dlee1j1:masterdlee1j1/python-kasa:masterCopy head branch name to clipboard

Conversation

@dlee1j1
Copy link
Copy Markdown
Contributor

@dlee1j1 dlee1j1 commented Feb 5, 2021

Also avoids unnecessary subsequent TCP calls to device

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 5, 2021

Codecov Report

Merging #132 (4e1b1b1) into master (98b40b5) will decrease coverage by 0.03%.
The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
- Coverage   73.02%   72.98%   -0.04%     
==========================================
  Files          10       10              
  Lines        1227     1229       +2     
  Branches      183      183              
==========================================
+ Hits          896      897       +1     
- Misses        298      299       +1     
  Partials       33       33              
Impacted Files Coverage 螖
kasa/cli.py 54.90% <0.00%> (+0.16%) 猬嗭笍
kasa/discover.py 40.17% <0.00%> (酶)
kasa/smartdevice.py 82.30% <33.33%> (-0.44%) 猬囷笍

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 98b40b5...4e1b1b1. Read the comment docs.

Copy link
Copy Markdown
Member

@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.

This is a great improvement, thanks a lot! I haven't tested it personally, but it reads reasonable. Could you remove the .gitignore modification though?

Comment thread .gitignore Outdated
Copy link
Copy Markdown
Member

@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.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.