mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13:34 +00:00
Prepare 0.7.1 (#1094)
## [0.7.1](https://github.com/python-kasa/python-kasa/tree/0.7.1) (2024-07-31) [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.5...0.7.1) **Release highlights:** - This release consists mainly of bugfixes and project improvements. - There is also new support for Tapo T100 motion sensors. - The CLI now supports child devices on all applicable commands. **Implemented enhancements:** - Expose reboot action [\#1073](https://github.com/python-kasa/python-kasa/pull/1073) (@rytilahti) - Decrypt KLAP data from PCAP files [\#1041](https://github.com/python-kasa/python-kasa/pull/1041) (@clstrickland) - Support child devices in all applicable cli commands [\#1020](https://github.com/python-kasa/python-kasa/pull/1020) (@sdb9696) **Fixed bugs:** - Fix iot light effect brightness [\#1092](https://github.com/python-kasa/python-kasa/pull/1092) (@sdb9696) - Enable setting brightness with color temp for smart devices [\#1091](https://github.com/python-kasa/python-kasa/pull/1091) (@sdb9696) - Do not send light\_on value to iot bulb set\_state [\#1090](https://github.com/python-kasa/python-kasa/pull/1090) (@sdb9696) - Allow erroring modules to recover [\#1080](https://github.com/python-kasa/python-kasa/pull/1080) (@sdb9696) - Raise KasaException on decryption errors [\#1078](https://github.com/python-kasa/python-kasa/pull/1078) (@sdb9696) - Update smart request parameter handling [\#1061](https://github.com/python-kasa/python-kasa/pull/1061) (@sdb9696) - Fix light preset module when list contains lighting effects [\#1048](https://github.com/python-kasa/python-kasa/pull/1048) (@sdb9696) - Handle module errors more robustly and add query params to light preset and transition [\#1036](https://github.com/python-kasa/python-kasa/pull/1036) (@sdb9696) - Fix credential hash to return None on empty credentials [\#1029](https://github.com/python-kasa/python-kasa/pull/1029) (@sdb9696) **Added support for devices:** - Add support for T100 motion sensor [\#1079](https://github.com/python-kasa/python-kasa/pull/1079) (@rytilahti) **Project maintenance:** - Bump project version to 0.7.0.5 [\#1087](https://github.com/python-kasa/python-kasa/pull/1087) (@sdb9696) - Fix generate\_supported pre commit to run in venv [\#1085](https://github.com/python-kasa/python-kasa/pull/1085) (@sdb9696) - Fix intermittently failing decryption error test [\#1082](https://github.com/python-kasa/python-kasa/pull/1082) (@sdb9696) - Fix mypy pre-commit hook on windows [\#1081](https://github.com/python-kasa/python-kasa/pull/1081) (@sdb9696) - Update RELEASING.md for patch releases [\#1076](https://github.com/python-kasa/python-kasa/pull/1076) (@sdb9696) - Use monotonic time for query timing [\#1070](https://github.com/python-kasa/python-kasa/pull/1070) (@sdb9696) - Fix parse\_pcap\_klap on windows and support default credentials [\#1068](https://github.com/python-kasa/python-kasa/pull/1068) (@sdb9696) - Add fixture file for KP405 fw 1.0.6 [\#1063](https://github.com/python-kasa/python-kasa/pull/1063) (@daleye) - Bump project version to 0.7.0.3 [\#1053](https://github.com/python-kasa/python-kasa/pull/1053) (@sdb9696) - Add KP400\(US\) v1.0.4 fixture [\#1051](https://github.com/python-kasa/python-kasa/pull/1051) (@gimpy88) - Add new HS220 kasa aes fixture [\#1050](https://github.com/python-kasa/python-kasa/pull/1050) (@sdb9696) - Add KS205\(US\) v1.1.0 fixture [\#1049](https://github.com/python-kasa/python-kasa/pull/1049) (@gimpy88) - Add KS200M\(US\) v1.0.11 fixture [\#1047](https://github.com/python-kasa/python-kasa/pull/1047) (@sdb9696) - Add KS225\(US\) v1.1.0 fixture [\#1046](https://github.com/python-kasa/python-kasa/pull/1046) (@sdb9696) - Split out main cli module into lazily loaded submodules [\#1039](https://github.com/python-kasa/python-kasa/pull/1039) (@sdb9696) - Structure cli into a package [\#1038](https://github.com/python-kasa/python-kasa/pull/1038) (@sdb9696) - Add KP400 v1.0.3 fixture [\#1037](https://github.com/python-kasa/python-kasa/pull/1037) (@gimpy88) - Add L920\(EU\) v1.1.3 fixture [\#1031](https://github.com/python-kasa/python-kasa/pull/1031) (@rytilahti) - Update changelog generator config [\#1030](https://github.com/python-kasa/python-kasa/pull/1030) (@sdb9696)
This commit is contained in:
parent
6f14330e09
commit
145a16db4c
207
CHANGELOG.md
207
CHANGELOG.md
@ -1,5 +1,58 @@
|
||||
# Changelog
|
||||
|
||||
## [0.7.1](https://github.com/python-kasa/python-kasa/tree/0.7.1) (2024-07-31)
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.5...0.7.1)
|
||||
|
||||
**Release highlights:**
|
||||
- This release consists mainly of bugfixes and project improvements.
|
||||
- There is also new support for Tapo T100 motion sensors.
|
||||
- The CLI now supports child devices on all applicable commands.
|
||||
|
||||
**Implemented enhancements:**
|
||||
|
||||
- Expose reboot action [\#1073](https://github.com/python-kasa/python-kasa/pull/1073) (@rytilahti)
|
||||
- Decrypt KLAP data from PCAP files [\#1041](https://github.com/python-kasa/python-kasa/pull/1041) (@clstrickland)
|
||||
- Support child devices in all applicable cli commands [\#1020](https://github.com/python-kasa/python-kasa/pull/1020) (@sdb9696)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Fix iot light effect brightness [\#1092](https://github.com/python-kasa/python-kasa/pull/1092) (@sdb9696)
|
||||
- Enable setting brightness with color temp for smart devices [\#1091](https://github.com/python-kasa/python-kasa/pull/1091) (@sdb9696)
|
||||
- Do not send light\_on value to iot bulb set\_state [\#1090](https://github.com/python-kasa/python-kasa/pull/1090) (@sdb9696)
|
||||
- Allow erroring modules to recover [\#1080](https://github.com/python-kasa/python-kasa/pull/1080) (@sdb9696)
|
||||
- Raise KasaException on decryption errors [\#1078](https://github.com/python-kasa/python-kasa/pull/1078) (@sdb9696)
|
||||
- Update smart request parameter handling [\#1061](https://github.com/python-kasa/python-kasa/pull/1061) (@sdb9696)
|
||||
- Fix light preset module when list contains lighting effects [\#1048](https://github.com/python-kasa/python-kasa/pull/1048) (@sdb9696)
|
||||
- Handle module errors more robustly and add query params to light preset and transition [\#1036](https://github.com/python-kasa/python-kasa/pull/1036) (@sdb9696)
|
||||
- Fix credential hash to return None on empty credentials [\#1029](https://github.com/python-kasa/python-kasa/pull/1029) (@sdb9696)
|
||||
|
||||
**Added support for devices:**
|
||||
|
||||
- Add support for T100 motion sensor [\#1079](https://github.com/python-kasa/python-kasa/pull/1079) (@rytilahti)
|
||||
|
||||
**Project maintenance:**
|
||||
|
||||
- Bump project version to 0.7.0.5 [\#1087](https://github.com/python-kasa/python-kasa/pull/1087) (@sdb9696)
|
||||
- Fix generate\_supported pre commit to run in venv [\#1085](https://github.com/python-kasa/python-kasa/pull/1085) (@sdb9696)
|
||||
- Fix intermittently failing decryption error test [\#1082](https://github.com/python-kasa/python-kasa/pull/1082) (@sdb9696)
|
||||
- Fix mypy pre-commit hook on windows [\#1081](https://github.com/python-kasa/python-kasa/pull/1081) (@sdb9696)
|
||||
- Update RELEASING.md for patch releases [\#1076](https://github.com/python-kasa/python-kasa/pull/1076) (@sdb9696)
|
||||
- Use monotonic time for query timing [\#1070](https://github.com/python-kasa/python-kasa/pull/1070) (@sdb9696)
|
||||
- Fix parse\_pcap\_klap on windows and support default credentials [\#1068](https://github.com/python-kasa/python-kasa/pull/1068) (@sdb9696)
|
||||
- Add fixture file for KP405 fw 1.0.6 [\#1063](https://github.com/python-kasa/python-kasa/pull/1063) (@daleye)
|
||||
- Bump project version to 0.7.0.3 [\#1053](https://github.com/python-kasa/python-kasa/pull/1053) (@sdb9696)
|
||||
- Add KP400\(US\) v1.0.4 fixture [\#1051](https://github.com/python-kasa/python-kasa/pull/1051) (@gimpy88)
|
||||
- Add new HS220 kasa aes fixture [\#1050](https://github.com/python-kasa/python-kasa/pull/1050) (@sdb9696)
|
||||
- Add KS205\(US\) v1.1.0 fixture [\#1049](https://github.com/python-kasa/python-kasa/pull/1049) (@gimpy88)
|
||||
- Add KS200M\(US\) v1.0.11 fixture [\#1047](https://github.com/python-kasa/python-kasa/pull/1047) (@sdb9696)
|
||||
- Add KS225\(US\) v1.1.0 fixture [\#1046](https://github.com/python-kasa/python-kasa/pull/1046) (@sdb9696)
|
||||
- Split out main cli module into lazily loaded submodules [\#1039](https://github.com/python-kasa/python-kasa/pull/1039) (@sdb9696)
|
||||
- Structure cli into a package [\#1038](https://github.com/python-kasa/python-kasa/pull/1038) (@sdb9696)
|
||||
- Add KP400 v1.0.3 fixture [\#1037](https://github.com/python-kasa/python-kasa/pull/1037) (@gimpy88)
|
||||
- Add L920\(EU\) v1.1.3 fixture [\#1031](https://github.com/python-kasa/python-kasa/pull/1031) (@rytilahti)
|
||||
- Update changelog generator config [\#1030](https://github.com/python-kasa/python-kasa/pull/1030) (@sdb9696)
|
||||
|
||||
## [0.7.0.5](https://github.com/python-kasa/python-kasa/tree/0.7.0.5) (2024-07-18)
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.4...0.7.0.5)
|
||||
@ -8,33 +61,45 @@ A critical bugfix for an issue with some L530 Series devices and a redactor for
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Only refresh smart LightEffect module daily [\#1064](https://github.com/python-kasa/python-kasa/pull/1064)
|
||||
- Only refresh smart LightEffect module daily [\#1064](https://github.com/python-kasa/python-kasa/pull/1064) (@sdb9696)
|
||||
|
||||
**Project maintenance:**
|
||||
|
||||
- Redact sensitive info from debug logs [\#1069](https://github.com/python-kasa/python-kasa/pull/1069)
|
||||
- Redact sensitive info from debug logs [\#1069](https://github.com/python-kasa/python-kasa/pull/1069) (@sdb9696)
|
||||
|
||||
## [0.7.0.4](https://github.com/python-kasa/python-kasa/tree/0.7.0.4) (2024-07-11)
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.3...0.7.0.4)
|
||||
|
||||
Critical bugfixes for issues with P100s and thermostats.
|
||||
Critical bugfixes for issues with P100s and thermostats
|
||||
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Use first known thermostat state as main state (pick #1054) [\#1057](https://github.com/python-kasa/python-kasa/pull/1057)
|
||||
- Defer module updates for less volatile modules (pick 1052) [\#1056](https://github.com/python-kasa/python-kasa/pull/1056)
|
||||
- Error connecting to L920-5 Smart LED Strip [\#1040](https://github.com/python-kasa/python-kasa/issues/1040)
|
||||
- Use first known thermostat state as main state \(pick \#1054\) [\#1057](https://github.com/python-kasa/python-kasa/pull/1057) (@sdb9696)
|
||||
- Defer module updates for less volatile modules \(pick 1052\) [\#1056](https://github.com/python-kasa/python-kasa/pull/1056) (@sdb9696)
|
||||
- Use first known thermostat state as main state [\#1054](https://github.com/python-kasa/python-kasa/pull/1054) (@rytilahti)
|
||||
- Defer module updates for less volatile modules [\#1052](https://github.com/python-kasa/python-kasa/pull/1052) (@sdb9696)
|
||||
|
||||
## [0.7.0.3](https://github.com/python-kasa/python-kasa/tree/0.7.0.3) (2024-07-04)
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.2...0.7.0.3)
|
||||
|
||||
Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
|
||||
Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
|
||||
Partially fixes light preset module errors with L920 and L930.
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Handle module errors more robustly and add query params to light preset and transition [\#1043](https://github.com/python-kasa/python-kasa/pull/1043)
|
||||
- Handle module errors more robustly and add query params to light preset and transition [\#1043](https://github.com/python-kasa/python-kasa/pull/1043) (@sdb9696)
|
||||
|
||||
**Documentation updates:**
|
||||
|
||||
- Misleading usage of asyncio.run\(\) in code examples [\#348](https://github.com/python-kasa/python-kasa/issues/348)
|
||||
|
||||
**Project maintenance:**
|
||||
|
||||
- Enable CI on the patch branch [\#1042](https://github.com/python-kasa/python-kasa/pull/1042) (@sdb9696)
|
||||
|
||||
## [0.7.0.2](https://github.com/python-kasa/python-kasa/tree/0.7.0.2) (2024-07-01)
|
||||
|
||||
@ -76,25 +141,25 @@ This patch release fixes some minor issues found out during testing against all
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.2.1...0.7.0)
|
||||
|
||||
We have been working hard behind the scenes to make this major release possible.
|
||||
This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
|
||||
The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
|
||||
|
||||
With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
|
||||
* Support for multi-functional devices like the dimmable fan KS240.
|
||||
* Initial support for hubs and hub-connected devices like thermostats and sensors.
|
||||
* Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
|
||||
* Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
|
||||
* The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
|
||||
* Improved documentation.
|
||||
|
||||
Hope you enjoy the release, feel free to leave a comment and feedback!
|
||||
|
||||
If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
|
||||
|
||||
> git diff 0.6.2.1..HEAD|diffstat
|
||||
> 214 files changed, 26960 insertions(+), 6310 deletions(-)
|
||||
|
||||
We have been working hard behind the scenes to make this major release possible.
|
||||
This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
|
||||
The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
|
||||
|
||||
With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
|
||||
* Support for multi-functional devices like the dimmable fan KS240.
|
||||
* Initial support for hubs and hub-connected devices like thermostats and sensors.
|
||||
* Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
|
||||
* Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
|
||||
* The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
|
||||
* Improved documentation.
|
||||
|
||||
Hope you enjoy the release, feel free to leave a comment and feedback!
|
||||
|
||||
If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
|
||||
|
||||
> git diff 0.6.2.1..HEAD|diffstat
|
||||
> 214 files changed, 26960 insertions(+), 6310 deletions(-)
|
||||
|
||||
For more information on the changes please checkout our [documentation on the API changes](https://python-kasa.readthedocs.io/en/latest/deprecated.html)
|
||||
|
||||
**Breaking changes:**
|
||||
@ -326,8 +391,8 @@ For more information on the changes please checkout our [documentation on the AP
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.1...0.6.2)
|
||||
|
||||
Release highlights:
|
||||
* Support for tapo power strips (P300)
|
||||
Release highlights:
|
||||
* Support for tapo power strips (P300)
|
||||
* Performance improvements and bug fixes
|
||||
|
||||
**Implemented enhancements:**
|
||||
@ -366,9 +431,9 @@ Release highlights:
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.0.1...0.6.1)
|
||||
|
||||
Release highlights:
|
||||
* Support for tapo wall switches
|
||||
* Support for unprovisioned devices
|
||||
Release highlights:
|
||||
* Support for tapo wall switches
|
||||
* Support for unprovisioned devices
|
||||
* Performance and stability improvements
|
||||
|
||||
**Implemented enhancements:**
|
||||
@ -441,17 +506,17 @@ A patch release to improve the protocol handling.
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.4...0.6.0)
|
||||
|
||||
This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
|
||||
|
||||
This release adds support to a large range of previously unsupported devices, including:
|
||||
|
||||
* Newer kasa-branded devices, including Matter-enabled devices like KP125M
|
||||
* Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
|
||||
* Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
|
||||
* UK variant of HS110, which was the first device using the new protocol
|
||||
|
||||
If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
|
||||
|
||||
This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
|
||||
|
||||
This release adds support to a large range of previously unsupported devices, including:
|
||||
|
||||
* Newer kasa-branded devices, including Matter-enabled devices like KP125M
|
||||
* Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
|
||||
* Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
|
||||
* UK variant of HS110, which was the first device using the new protocol
|
||||
|
||||
If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
|
||||
|
||||
Special thanks goes to @SimonWilkinson who created the initial PR for the new communication protocol!
|
||||
|
||||
**Breaking changes:**
|
||||
@ -546,13 +611,13 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.3...0.5.4)
|
||||
|
||||
The highlights of this maintenance release:
|
||||
|
||||
* Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
|
||||
* Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
|
||||
* Optimizations for downstream device accesses, thanks to @bdraco.
|
||||
* Support for both pydantic v1 and v2.
|
||||
|
||||
The highlights of this maintenance release:
|
||||
|
||||
* Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
|
||||
* Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
|
||||
* Optimizations for downstream device accesses, thanks to @bdraco.
|
||||
* Support for both pydantic v1 and v2.
|
||||
|
||||
As always, see the full changelog for details.
|
||||
|
||||
**Implemented enhancements:**
|
||||
@ -612,8 +677,8 @@ This release adds support for defining the device port and introduces dependency
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.1...0.5.2)
|
||||
|
||||
Besides some small improvements, this release:
|
||||
* Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
|
||||
Besides some small improvements, this release:
|
||||
* Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
|
||||
* Drops Python 3.7 support as it is no longer maintained.
|
||||
|
||||
**Breaking changes:**
|
||||
@ -648,11 +713,11 @@ Besides some small improvements, this release:
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.0...0.5.1)
|
||||
|
||||
This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
|
||||
* Improved console tool (JSON output, colorized output if rich is installed)
|
||||
* Pretty, colorized console output, if `rich` is installed
|
||||
* Support for configuring bulb presets
|
||||
* Usage data is now reported in the expected format
|
||||
This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
|
||||
* Improved console tool (JSON output, colorized output if rich is installed)
|
||||
* Pretty, colorized console output, if `rich` is installed
|
||||
* Support for configuring bulb presets
|
||||
* Usage data is now reported in the expected format
|
||||
* Dependency pinning is relaxed to give downstreams more control
|
||||
|
||||
**Breaking changes:**
|
||||
@ -716,21 +781,21 @@ This minor release contains mostly small UX fine-tuning and documentation improv
|
||||
|
||||
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.3...0.5.0)
|
||||
|
||||
This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
|
||||
|
||||
There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
|
||||
* Basic system info
|
||||
* Emeter
|
||||
* Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
|
||||
* Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
|
||||
* Countdown (new)
|
||||
* Antitheft (new)
|
||||
* Schedule (new)
|
||||
* Motion - for configuring motion settings on some dimmers (new)
|
||||
* Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
|
||||
* Cloud - information about cloud connectivity (new)
|
||||
|
||||
For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
|
||||
This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
|
||||
|
||||
There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
|
||||
* Basic system info
|
||||
* Emeter
|
||||
* Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
|
||||
* Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
|
||||
* Countdown (new)
|
||||
* Antitheft (new)
|
||||
* Schedule (new)
|
||||
* Motion - for configuring motion settings on some dimmers (new)
|
||||
* Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
|
||||
* Cloud - information about cloud connectivity (new)
|
||||
|
||||
For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
|
||||
Pull requests improving the functionality of modules as well as adding better interfaces to device classes are welcome!
|
||||
|
||||
**Breaking changes:**
|
||||
|
807
poetry.lock
generated
807
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "python-kasa"
|
||||
version = "0.7.0.5"
|
||||
version = "0.7.1"
|
||||
description = "Python API for TP-Link Kasa Smarthome devices"
|
||||
license = "GPL-3.0-or-later"
|
||||
authors = ["python-kasa developers"]
|
||||
|
Loading…
Reference in New Issue
Block a user