Skip to content
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

Test merge back 2 #34

Open
wants to merge 11 commits into
base: test_merge
Choose a base branch
from
Open

Test merge back 2 #34

wants to merge 11 commits into from

Conversation

sdb9696
Copy link
Owner

@sdb9696 sdb9696 commented Jul 24, 2024

No description provided.

sdb9696 and others added 11 commits July 4, 2024 08:14
…et and transition (python-kasa#1043)

Ensures that all modules try to access their data in `_post_update_hook` in a safe manner and disable themselves if there's an error.
Also adds parameters to get_preset_rules and get_on_off_gradually_info to fix issues with recent firmware updates.
Cherry pick of [python-kasa#1036](python-kasa#1036) to patch
## [0.7.0.3](https://github.com/python-kasa/python-kasa/tree/0.7.0.3) (2024-07-04)

[Full Changelog](python-kasa/python-kasa@0.7.0.2...0.7.0.3)

Critical bugfix for issue python-kasa#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 [\python-kasa#1043](python-kasa#1043)
…sa#1056)

Pick commit 7fd5c21 from 1052

Addresses stability issues on older hw device versions

 - Handles module timeout errors better by querying modules individually on errors and disabling problematic modules like Firmware that go out to the internet to get updates.
- Addresses an issue with the Led module on P100 hardware version 1.0 which appears to have a memory leak and will cause the device to crash after approximately 500 calls.
- Delays updates of modules that do not have regular changes like LightPreset and LightEffect and enables them to be updated on the next update cycle only if required values have changed.
python-kasa#1057)

Pick commit a044063 from python-kasa#1054 

Instead of trying to use the first state when multiple are reported,
iterate over the known states and pick the first matching.
This will fix an issue where the device reports extra states (like
`low_battery`) while having a known mode active.

Related to home-assistant/core#121335
## [0.7.0.4](https://github.com/python-kasa/python-kasa/tree/0.7.0.4) (2024-07-011)

[Full Changelog](python-kasa/python-kasa@0.7.0.3...0.7.0.4)

Critical bugfixes for issues with P100s and thermostats.

**Fixed bugs:**

- Use first known thermostat state as main state (pick python-kasa#1054) [\python-kasa#1057](python-kasa#1057)
- Defer module updates for less volatile modules (pick 1052) [\python-kasa#1056](python-kasa#1056)
Fixes an issue with L530 bulbs on HW version 1.0 whereby the light effect
query causes the device to crash with JSON_ENCODE_FAIL_ERROR after
approximately 60 calls.
Redacts sensitive data when debug logging device responses such as mac,
location and usernames
## [0.7.0.5](https://github.com/python-kasa/python-kasa/tree/0.7.0.5) (2024-07-18)

[Full Changelog](python-kasa/python-kasa@0.7.0.4...0.7.0.5)

A critical bugfix for an issue with some L530 Series devices and a redactor for sensitive info from debug logs.

**Fixed bugs:**

- Only refresh smart LightEffect module daily [\python-kasa#1064](python-kasa#1064)

**Project maintenance:**

- Redact sensitive info from debug logs [\python-kasa#1069](python-kasa#1069)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant