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

Add ColorModule for smart devices #840

Merged
merged 4 commits into from
Apr 20, 2024

Conversation

sdb9696
Copy link
Collaborator

@sdb9696 sdb9696 commented Apr 19, 2024

Adds support L530 hw_version 1.0

Fixes home-assistant/core#111757

Copy link

codecov bot commented Apr 19, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 5 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (master@203bd79). Click here to learn what that means.

Files Patch % Lines
kasa/smart/modules/colortemp.py 66.66% 2 Missing and 1 partial ⚠️
kasa/smart/modules/colormodule.py 93.33% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #840   +/-   ##
=========================================
  Coverage          ?   89.00%           
=========================================
  Files             ?       66           
  Lines             ?     4612           
  Branches          ?     1133           
=========================================
  Hits              ?     4105           
  Misses            ?      422           
  Partials          ?       85           

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

Copy link
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.

Thanks for cleaning this up! A couple of quick comments, I tested that the hsv command is still working on L530 and L900.

kasa/smart/modules/colortemp.py Outdated Show resolved Hide resolved
kasa/smart/modules/colormodule.py Show resolved Hide resolved
kasa/smart/smartbulb.py Show resolved Hide resolved
kasa/smart/smartdevice.py Show resolved Hide resolved
kasa/tests/device_fixtures.py Outdated Show resolved Hide resolved
@rytilahti rytilahti changed the title Add ColorModule to support L530 hw_version 1.0 Add ColorModule for smart devices Apr 19, 2024
Copy link
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, let's ship it! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TP-Link Smart Home Integration Color Issue Tapo L530
2 participants