-
-
Notifications
You must be signed in to change notification settings - Fork 221
Comparing changes
Open a pull request
base repository: python-kasa/python-kasa
base: 530cf4b
head repository: python-kasa/python-kasa
compare: 331baf6
- 13 commits
- 37 files changed
- 2 contributors
Commits on Oct 31, 2024
-
Expose PIR enabled setting for iot dimmers (#1174)
This adds PIR enabled feature to iot dimmers, making it possible to enable and disable the motion detection.
Configuration menu - View commit details
-
Copy full SHA for 9975bbf - Browse repository at this point
Copy the full SHA 9975bbfView commit details -
Expose ambient light setting for iot dimmers (#1210)
This PR adds a setting to control the ambient light enabled/disabled. Also fixes the getters.
Configuration menu - View commit details
-
Copy full SHA for 6c141c3 - Browse repository at this point
Copy the full SHA 6c141c3View commit details -
Use stacklevel=2 for warnings to report on callsites (#1219)
Use stacklevel=2 for warnings, as this will correctly show the callsite instead of the line where the warning is reported. Currently: ``` kasa/__init__.py:110 /home/tpr/code/python-kasa/kasa/__init__.py:110: DeprecationWarning: SmartDevice is deprecated, use IotDevice from package kasa.iot instead or use Discover.discover_single() and Device.connect() to support new protocols warn( ``` After: ``` kasa/tests/smart/modules/test_contact.py:3 /home/tpr/code/python-kasa/kasa/tests/smart/modules/test_contact.py:3: DeprecationWarning: SmartDevice is deprecated, use IotDevice from package kasa.iot instead or use Discover.discover_single() and Device.connect() to support new protocols from kasa import Module, SmartDevice ``` Currently: ``` kasa/tests/test_lightstrip.py: 56 warnings /home/tpr/code/python-kasa/kasa/device.py:559: DeprecationWarning: effect is deprecated, use: Module.LightEffect in device.modules instead warn(msg, DeprecationWarning, stacklevel=1) ``` After: ``` kasa/tests/test_lightstrip.py::test_effects_lightstrip_set_effect_transition[500-KL430(US)_2.0_1.0.9.json] /home/tpr/code/python-kasa/kasa/tests/test_lightstrip.py:62: DeprecationWarning: set_effect is deprecated, use: Module.LightEffect in device.modules instead await dev.set_effect("Candy Cane") ```
Configuration menu - View commit details
-
Copy full SHA for 5da41fc - Browse repository at this point
Copy the full SHA 5da41fcView commit details -
Fix AES child device creation error (#1220)
Bug exposed when passing credentials_hash and creating child devices for klap devices as the default is to try to create an AES transport and the credentials hashes are incompatible.
Configuration menu - View commit details
-
Copy full SHA for e73da5b - Browse repository at this point
Copy the full SHA e73da5bView commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 54f0e91 - Browse repository at this point
Copy the full SHA 54f0e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7335a7d - Browse repository at this point
Copy the full SHA 7335a7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8969b54 - Browse repository at this point
Copy the full SHA 8969b54View commit details -
Initial trigger logs implementation (#900)
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 70c96b5 - Browse repository at this point
Copy the full SHA 70c96b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b654a - Browse repository at this point
Copy the full SHA 77b654aView commit details -
Add childprotection module (#1141)
When turned on, rotating the thermostat will not change the target temperature.
Configuration menu - View commit details
-
Copy full SHA for 0360107 - Browse repository at this point
Copy the full SHA 0360107View commit details
Commits on Nov 3, 2024
-
Add PIR&LAS for wall switches mentioning PIR support (#1227)
Some devices (like KS200M) support ambient and motion, but as they are detected as wall switches, they don't get the modules added. This PR enables the respective modules for wall switches when the `dev_name` contains `PIR`.
Configuration menu - View commit details
-
Copy full SHA for b2f3971 - Browse repository at this point
Copy the full SHA b2f3971View commit details
Commits on Nov 4, 2024
-
parse_pcap_klap: various code cleanups (#1138)
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4640dfa - Browse repository at this point
Copy the full SHA 4640dfaView commit details -
## [0.7.7](https://github.com/python-kasa/python-kasa/tree/0.7.7) (2024-11-04) [Full Changelog](0.7.6...0.7.7) **Release summary:** - Bugfix for child device device creation error with credentials_hash - PIR support for iot dimmers and wall switches. - Various small enhancements and project improvements. **Implemented enhancements:** - Add PIR&LAS for wall switches mentioning PIR support [\#1227](#1227) (@rytilahti) - Expose ambient light setting for iot dimmers [\#1210](#1210) (@rytilahti) - Expose PIR enabled setting for iot dimmers [\#1174](#1174) (@rytilahti) - Add childprotection module [\#1141](#1141) (@rytilahti) - Initial trigger logs implementation [\#900](#900) (@rytilahti) **Fixed bugs:** - Fix AES child device creation error [\#1220](#1220) (@sdb9696) **Project maintenance:** - Update TC65 fixture [\#1225](#1225) (@rytilahti) - Update smartcamera fixtures from latest dump\_devinfo [\#1224](#1224) (@sdb9696) - Add component queries to smartcamera devices [\#1223](#1223) (@sdb9696) - Update try\_connect\_all to be more efficient and report attempts [\#1222](#1222) (@sdb9696) - Use stacklevel=2 for warnings to report on callsites [\#1219](#1219) (@rytilahti) - parse\_pcap\_klap: various code cleanups [\#1138](#1138) (@rytilahti)
Configuration menu - View commit details
-
Copy full SHA for 331baf6 - Browse repository at this point
Copy the full SHA 331baf6View 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 530cf4b...331baf6