Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-kasa/python-kasa
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.0.1
Choose a base ref
...
head repository: python-kasa/python-kasa
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.7.0.2
Choose a head ref
  • 8 commits
  • 28 files changed
  • 3 contributors

Commits on Jun 27, 2024

  1. Handle unknown error codes gracefully (#1016)

    Makes unknown error codes to be reported through KasaException which may
    be recoverable in some cases (i.e., a single command failing in the
    multi request).
    
    Related to home-assistant/core#118446
    rytilahti authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    cf24a94 View commit details
    Browse the repository at this point in the history
  2. Update light transition module to work with child devices (#1017)

    Fixes module to work with child devices, i.e. ks240
    Interrogates the data to see whether maximums are available.
    Fixes a bug whereby setting a duration while the feature is not
    enabled does not actually enable it.
    sdb9696 authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    2a62849 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Cache SmartErrorCode creation (#1022)

    Uses the python 3.9 cache feature to improve performance of error code creation
    bdraco authored Jun 30, 2024
    Configuration menu
    Copy the full SHA
    368590c View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Make parent attribute on device consistent across iot and smart (#1023)

    Both device types now have an internal `_parent` and a public property getter
    sdb9696 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    2687c71 View commit details
    Browse the repository at this point in the history
  2. Fix changing brightness when effect is active (#1019)

    This PR changes the behavior of `brightness` module if an effect is
    active.
    Currently, changing the brightness disables the effect when the
    brightness is changed, this fixes that.
    This will also improve the `set_effect` interface to use the current
    brightness when an effect is activated.
    
    * light_strip_effect: passing `bAdjusted` with the changed properties
    changes the brightness.
    * light_effect: the brightness is stored only in the rule, so we modify
    it when adjusting the brightness. This is also done during the initial
    effect activation.
    
    ---------
    
    Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
    rytilahti and sdb9696 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b31a2ed View commit details
    Browse the repository at this point in the history
  3. Disable multi requests on json decode error during multi-request (#1025)

    Issue affecting some P100 devices
    sdb9696 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    8d1a4a4 View commit details
    Browse the repository at this point in the history
  4. Disable multi-request on unknown errors (#1027)

    Another P100 fix
    sdb9696 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    03f72b8 View commit details
    Browse the repository at this point in the history
  5. Prepare 0.7.0.2 (#1028)

    ## [0.7.0.2](https://github.com/python-kasa/python-kasa/tree/0.7.0.2) (2024-07-01)
    
    [Full Changelog](0.7.0.1...0.7.0.2)
    
    This patch release fixes some minor issues found out during testing against all new homeassistant platforms.
    
    **Fixed bugs:**
    
    - Disable multi-request on unknown errors [\#1027](#1027) (@sdb9696)
    - Disable multi requests on json decode error during multi-request [\#1025](#1025) (@sdb9696)
    - Fix changing brightness when effect is active [\#1019](#1019) (@rytilahti)
    - Update light transition module to work with child devices [\#1017](#1017) (@sdb9696)
    - Handle unknown error codes gracefully [\#1016](#1016) (@rytilahti)
    
    **Project maintenance:**
    
    - Make parent attribute on device consistent across iot and smart [\#1023](#1023) (@sdb9696)
    - Cache SmartErrorCode creation [\#1022](#1022) (@bdraco)
    sdb9696 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    38a8c96 View commit details
    Browse the repository at this point in the history
Loading