| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hey there @TheGardenMonkey, mind taking a look at this pull request as it has been labeled with an integration (tplink) you are listed as a code owner for? Thanks! |
Sorry, something went wrong.
|
@bdraco would you mind testing with the python-kasa's modularize branch to see if the cloud module has some other identifiers besides username that should be redacted? |
Sorry, something went wrong.
|
config_entry-tplink-5f1ac3337e1c923eb088c0e55f6a8f5a.json.txt |
Sorry, something went wrong.
|
Great, thanks! I think this is ready to go if that internal access is fine. |
Sorry, something went wrong.
|
We have to add tests for this since its quality scale platinum |
Sorry, something went wrong.
|
There are now some preliminary tests in place, primarily testing that the redactions are working correctly. The entry is no more in the diagnostics data, and the alias was added to the list of information to redact. consts.py had code that's not used anymore since the python-kasa conversion, so it's also gone. I'm wondering if the tests should be converted to use hass.config_entries.async_setup instead of async_setup_component across the board, either by extending that newly introduced helper, or by creating a mock that performs the same.. |
Sorry, something went wrong.
I don't think it really matters so much. Ideally we pick one or the other, but both are acceptable. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Proposed change
Add diagnostics to tplink integration, containing the contents of the last device response.
Type of change
Additional information
Checklist
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.
Updated by running python3 -m script.gen_requirements_all.
The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: