Add exception for unsupported provisioning methods#1586
Add exception for unsupported provisioning methods#1586rytilahti wants to merge 1 commit intopython-kasa:masterfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1586 +/- ##
==========================================
- Coverage 92.73% 92.68% -0.05%
==========================================
Files 157 157
Lines 9630 9636 +6
Branches 976 978 +2
==========================================
+ Hits 8930 8931 +1
- Misses 499 502 +3
- Partials 201 203 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@rytilahti I wanted to let you know that I had a user report an issue with the homebridge-kasa-python plugin about this but the obd_src was "amazon_atr" and it was discovering the device but failing to authenticate until they re-added it as "tplink". |
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
We frequently receive reports from users who have issues with credentials.
One of the most common cases, besides the mobile app users' uppercasing the first letter, is due to the provisioning through "tplink simple setup" (tss) where the newly provisioned devices do not accept the regular credentials.
This PR adds a new exception that can be caught to display user a more detailed message about what they can do to fix the issue.
This has not been tested yet, so drafting for now.
Fixes #1573