-
-
Notifications
You must be signed in to change notification settings - Fork 247
Add factory-reset command to cli #1108
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1108 +/- ##
==========================================
+ Coverage 92.55% 92.62% +0.06%
==========================================
Files 96 96
Lines 6100 6117 +17
Branches 1504 1510 +6
==========================================
+ Hits 5646 5666 +20
+ Misses 354 353 -1
+ Partials 100 98 -2 ☔ View full report in Codecov by Sentry. |
sdb9696
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.
It's up to you but I'd probably keep the command just under device. Otherwise LGTM.
## [0.7.4](https://github.com/python-kasa/python-kasa/tree/0.7.4) (2024-09-27) [Full Changelog](0.7.3...0.7.4) **Release summary:** - KL135 color temp range corrected to 9000k max - Minor enhancements and project maintenance **Implemented enhancements:** - Add factory\_reset\(\) to iotdevice [\#1125](#1125) (@rytilahti) - Add reboot\(\) to the device interface [\#1124](#1124) (@rytilahti) - Add factory-reset command to cli [\#1108](#1108) (@rytilahti) **Fixed bugs:** - Extend KL135 ct range up to 9000K [\#1123](#1123) (@rytilahti) - Fix cli command for device off [\#1121](#1121) (@sdb9696) **Project maintenance:** - Use pytest-socket to ensure no tests are performing io [\#1133](#1133) (@sdb9696) - Enable ruff lint pycodestyle warnings [\#1132](#1132) (@sdb9696) - Add autouse fixture to patch asyncio.sleep [\#1131](#1131) (@sdb9696) - Mock asyncio.sleep for klapprotocol tests [\#1130](#1130) (@rytilahti) - Add fixture for T110 fw 1.9.0 [\#1129](#1129) (@rytilahti) - Speed up and simplify github workflows [\#1128](#1128) (@sdb9696) - Add KS200M\(US\) fw 1.0.12 fixture [\#1127](#1127) (@GatorEG) - Add stale PR/Issue github workflow [\#1126](#1126) (@sdb9696) - Add fixture for KL135\(US\) fw 1.0.15 [\#1122](#1122) (@rytilahti)
Allow reseting devices to factory settings using the cli:
kasa device factory-reset