-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Add power protection entities for tplink #132267
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
Conversation
Hey there @bdraco, @sdb9696, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove the power_protection_enabled
is it's now all wrapped up in the threshold feature. A couple of other minor nits, otherwise this looks ready to go.
The missing coverage seems to be unrelated and caused by merging the current dev to this. |
Needs conflicts resolved |
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
Proposed change
Add power protection entities for supported devices.
This feature allows specifying a power threshold where the device turns itself off.
If that happens, the "Overloaded" entity is set to indicate the problem. This will remain until the device gets turned again back on.
Depends on python-kasa/python-kasa#1337
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: