-
-
Notifications
You must be signed in to change notification settings - Fork 239
Re-add regional suffix to TAPO/SMART fixtures #566
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
Re-add regional suffix to TAPO/SMART fixtures #566
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #566 +/- ##
=======================================
Coverage 79.66% 79.66%
=======================================
Files 36 36
Lines 2995 2995
Branches 779 779
=======================================
Hits 2386 2386
Misses 536 536
Partials 73 73 ☔ View full report in Codecov by Sentry. |
rytilahti
left a comment
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.
Looks like dump_devinfo is currently broken for me:
Testing Call(module='child_device_component_list', method='get_child_device_component_list')..FAIL Unable to connect to the device: 192.168.xx.xx: 'NoneType' object has no attribute 'cookies'
Unable to query all successes at once: Unable to connect to the device: 192.168.xx.xx: 'NoneType' object has no attribute 'cookies'
The device responds with {"error_code":-1002} to that call and fails after retries.
|
Hmm that's strange, I got a similar error testing my HA changes today. I'll spend a bit more time on this tomorrow. |
|
I think this should be fixed in #568. I'm guessing the AesTransport returns the error code pre-decryption so it raises an error from the transport which hit a bug in the retry logic (introduced to make mypy happy). This does mean it'll probably retry this query even though it's returning a non-authentication error code so there's probably a bit of work to do interpreting the error codes. Sadly I can't test with my device anymore. I'll rebase this once #568 is in so you can re-test. |
rytilahti
left a comment
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.
Seems to work as expected, updated #562. Thanks again!
71f81c6 to
c97a872
Compare
|
Not ready for merge yet. It seems this EDIT: Ok this is ready for merge. Made some tweaks to tell users to put the file in the smart subdirectory. |
c97a872 to
2bd670b
Compare
No description provided.