-
-
Notifications
You must be signed in to change notification settings - Fork 227
Comparing changes
Open a pull request
base repository: python-kasa/python-kasa
base: 0.7.3
head repository: python-kasa/python-kasa
compare: 0.7.4
- 15 commits
- 25 files changed
- 3 contributors
Commits on Sep 21, 2024
-
Add reboot() to the device interface (#1124)
Both device families have already had a method following this signature, but defining the interface in the base class will make the contract clear.
Configuration menu - View commit details
-
Copy full SHA for f07341a - Browse repository at this point
Copy the full SHA f07341aView commit details -
Add factory-reset command to cli (#1108)
Allow reseting devices to factory settings using the cli: `kasa device factory-reset`.
Configuration menu - View commit details
-
Copy full SHA for b7fa0d2 - Browse repository at this point
Copy the full SHA b7fa0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73b6d16 - Browse repository at this point
Copy the full SHA 73b6d16View commit details -
Add fixture for KL135(US) fw 1.0.15 (#1122)
By courtesy of @jhemak: home-assistant/core#126300 (comment)
Configuration menu - View commit details
-
Copy full SHA for 89d611d - Browse repository at this point
Copy the full SHA 89d611dView commit details
Commits on Sep 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 69c2700 - Browse repository at this point
Copy the full SHA 69c2700View commit details
Commits on Sep 27, 2024
-
Mock asyncio.sleep for klapprotocol tests (#1130)
Speeds up tests in `test_klapprotocol.py` from 26s to 2s when there's no sleep between the retries.
Configuration menu - View commit details
-
Copy full SHA for 8321fd0 - Browse repository at this point
Copy the full SHA 8321fd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ab08f4 - Browse repository at this point
Copy the full SHA 1ab08f4View commit details -
Speed up and simplify github workflows (#1128)
- Enable parallel tests in the CI with pytest-xdist - Migrate to the official `astral-sh/setup-uv` github action - Call `pre-commit` run as a single job in CI instead of relisting each check - Use `uv` version 0.4.16 - Fix bug with pre-commit cache - Update `publish.yml` to use `astral-sh/setup-uv`
Configuration menu - View commit details
-
Copy full SHA for 038b699 - Browse repository at this point
Copy the full SHA 038b699View commit details -
Configuration menu - View commit details
-
Copy full SHA for db686e1 - Browse repository at this point
Copy the full SHA db686e1View commit details -
Enable ruff lint pycodestyle warnings (#1132)
Addresses repeated SyntaxWarnings when running linters: ``` kasa/tests/test_bulb.py:254: SyntaxWarning: invalid escape sequence '\d' ValueError, match="Temperature should be between \d+ and \d+, was 1000" kasa/tests/test_bulb.py:258: SyntaxWarning: invalid escape sequence '\d' ValueError, match="Temperature should be between \d+ and \d+, was 10000" kasa/tests/test_common_modules.py:216: SyntaxWarning: invalid escape sequence '\d' with pytest.raises(ValueError, match="Temperature should be between \d+ and \d+"): kasa/tests/test_common_modules.py:219: SyntaxWarning: invalid escape sequence '\d' with pytest.raises(ValueError, match="Temperature should be between \d+ and \d+"): ```
Configuration menu - View commit details
-
Copy full SHA for 936e45c - Browse repository at this point
Copy the full SHA 936e45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4aba36 - Browse repository at this point
Copy the full SHA b4aba36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d78f00 - Browse repository at this point
Copy the full SHA 5d78f00View commit details -
Fix cli command for device off (#1121)
Was previously missed when using the full `kasa device off` command as opposed to the shortcut.
Configuration menu - View commit details
-
Copy full SHA for d1b43f5 - Browse repository at this point
Copy the full SHA d1b43f5View commit details -
Add factory_reset() to iotdevice (#1125)
Also extend the base device class API to make factory_reset() part of the common API.
Configuration menu - View commit details
-
Copy full SHA for 1ce5af2 - Browse repository at this point
Copy the full SHA 1ce5af2View commit details -
## [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)
Configuration menu - View commit details
-
Copy full SHA for 2922c3f - Browse repository at this point
Copy the full SHA 2922c3fView 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 0.7.3...0.7.4