-
-
Notifications
You must be signed in to change notification settings - Fork 226
Comparing changes
Open a pull request
base repository: python-kasa/python-kasa
base: c1e1483
head repository: python-kasa/python-kasa
compare: 9deadaa
- 11 commits
- 54 files changed
- 4 contributors
Commits on May 23, 2024
-
Do not show a zero error code when cli exits from showing help (#935)
asyncclick raises a custom runtime exception when exiting help. This suppresses reporting it.
Configuration menu - View commit details
-
Copy full SHA for b217811 - Browse repository at this point
Copy the full SHA b217811View commit details
Commits on May 24, 2024
-
Initialize autooff features only when data is available (#933)
For power strips, the autooff data needs to be requested from the children. Until we do that, we should not create these features to avoid crashing during switch platform initialization. This also ports the module to use `_initialize_features` and add tests.
Configuration menu - View commit details
-
Copy full SHA for 7671564 - Browse repository at this point
Copy the full SHA 7671564View commit details
Commits on Jun 3, 2024
-
Update documentation structure and start migrating to markdown (#934)
Starts structuring the documentation library usage into Tutorials, Guides, Explanations and Reference. Continues migrating new docs from rst to markdown. Extends the test framework discovery mocks to allow easy writing and testing of code examples.
Configuration menu - View commit details
-
Copy full SHA for 6616d68 - Browse repository at this point
Copy the full SHA 6616d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30e3703 - Browse repository at this point
Copy the full SHA 30e3703View commit details -
By courtesy of @steveredden: #888 (comment)
Configuration menu - View commit details
-
Copy full SHA for bfba7a3 - Browse repository at this point
Copy the full SHA bfba7a3View commit details -
Make device initialisation easier by reducing required imports (#936)
Adds username and password arguments to discovery to remove the need to import Credentials. Creates TypeAliases in Device for connection configuration classes and DeviceType. Using the API with these changes will only require importing either Discover or Device depending on whether using Discover.discover() or Device.connect() to initialize and interact with the API.
Configuration menu - View commit details
-
Copy full SHA for be5202c - Browse repository at this point
Copy the full SHA be5202cView commit details -
Do not raise on multi-request errors on child devices (#949)
This will avoid crashing when some commands return an error on multi-requests on child devices. Idea from https://github.com/python-kasa/python-kasa/pull/900/files#r1624803457
Configuration menu - View commit details
-
Copy full SHA for 2234738 - Browse repository at this point
Copy the full SHA 2234738View commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f890fce - Browse repository at this point
Copy the full SHA f890fceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f2263 - Browse repository at this point
Copy the full SHA 40f2263View commit details -
Fix P100 errors on multi-requests (#930)
Fixes an issue reported by @bdraco with the P100 not working in the latest branch: `[Errno None] Can not write request body for HOST_REDACTED, ClientOSError(None, 'Can not write request body for URL_REDACTED'))` Issue caused by the number of multi requests going above the default batch of 5 and the P100 not being able to handle the second multi request happening immediately as it closes the connection after each query (See #690 for similar issue). This introduces a small wait time on concurrent requests once the device has raised a ClientOSError.
Configuration menu - View commit details
-
Copy full SHA for 91de5e2 - Browse repository at this point
Copy the full SHA 91de5e2View commit details
Commits on Jun 5, 2024
-
## [0.7.0.dev2](https://github.com/python-kasa/python-kasa/tree/0.7.0.dev2) (2024-06-05) [Full Changelog](0.7.0.dev1...0.7.0.dev2) **Implemented enhancements:** - Make device initialisation easier by reducing required imports [\#936](#936) (@sdb9696) **Fixed bugs:** - Do not raise on multi-request errors on child devices [\#949](#949) (@rytilahti) - Do not show a zero error code when cli exits from showing help [\#935](#935) (@rytilahti) - Initialize autooff features only when data is available [\#933](#933) (@rytilahti) - Fix P100 errors on multi-requests [\#930](#930) (@sdb9696) **Documentation updates:** - Update documentation structure and start migrating to markdown [\#934](#934) (@sdb9696) **Closed issues:** - Simplify instance creation API [\#927](#927) **Merged pull requests:** - Add P115 fixture [\#950](#950) (@rytilahti) - Add some device fixtures [\#948](#948) (@rytilahti) - Add fixture for S505D [\#947](#947) (@rytilahti) - Fix passing custom port for dump\_devinfo [\#938](#938) (@rytilahti)
Configuration menu - View commit details
-
Copy full SHA for 9deadaa - Browse repository at this point
Copy the full SHA 9deadaaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff c1e1483...9deadaa