8000 Check for emeter support on power strips/multiple plug outlets by acmay · Pull Request #41 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

Check for emeter support on power strips/multiple plug outlets #41

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
Apr 12, 2020

Conversation

acmay
Copy link
Contributor
@acmay acmay commented Apr 11, 2020

For #37 add in checks for the features and mark the function as property so cli.py and others can just check the value.

@rytilahti
Copy link
Member

Could you move the check to SmartDevice class and remove the SmartPlug (and SmartStrip) implementation for it? Looking at the fixtures, all devices besides the bulbs are reporting this information, so we just need to override this for bulbs.

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, thanks 👍

@rytilahti rytilahti merged commit b6c3a7c into python-kasa:master Apr 12, 2020
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.

2 participants
0