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

Query and initialize child components#731

Closed
rytilahti wants to merge 1 commit into
python-kasa:masterpython-kasa/python-kasa:masterfrom
rytilahti:fix/tapo_child_componentsrytilahti/python-kasa:fix/tapo_child_componentsCopy head branch name to clipboard
Closed

Query and initialize child components#731
rytilahti wants to merge 1 commit into
python-kasa:masterpython-kasa/python-kasa:masterfrom
rytilahti:fix/tapo_child_componentsrytilahti/python-kasa:fix/tapo_child_componentsCopy head branch name to clipboard

Conversation

@rytilahti
Copy link
Copy Markdown
Member

Initializes the list of available components for child devices.

Fixes the issue seen in homeassistant (#729), tests should be improved before this can be merged.

@rytilahti rytilahti added the bug Something isn't working label Jan 31, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8657959) 87.96% compared to head (e7cd701) 87.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #731      +/-   ##
==========================================
+ Coverage   87.96%   87.98%   +0.01%     
==========================================
  Files          41       41              
  Lines        3632     3638       +6     
  Branches      910      911       +1     
==========================================
+ Hits         3195     3201       +6     
  Misses        362      362              
  Partials       75       75              

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

@rytilahti
Copy link
Copy Markdown
Member Author

I think this can wait until we have module support. For Hass, we can fix this by initialising the variable inside tapodevice's init.

@rytilahti
Copy link
Copy Markdown
Member Author

I'll just create a new PR from the scratch, as there has been so many changes around the now-smartdevice, that it makes no sense to revive this.

@rytilahti rytilahti closed this Feb 16, 2024
@rytilahti rytilahti deleted the fix/tapo_child_components branch February 16, 2024 23:56
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.

1 participant

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