-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Simplify instance creation API #927
Milestone
Comments
Merged
sdb9696
added a commit
that referenced
this issue
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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of requiring to import
Credentials
from the kasa package, we should allow creating instances without it.@sdb9696 suggested to allow passing the username and the password as kwargs, which sounds like a good idea:
The text was updated successfully, but these errors were encountered: