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.dev0
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.dev1
Choose a head ref
  • 3 commits
  • 13 files changed
  • 2 contributors

Commits on May 22, 2024

  1. Fix set_state for common light modules (#929)

    PR contains a number of fixes from testing with HA devices:
    
    - Fixes a bug with turning the light on and off via `set_state`
    - Aligns `set_brightness` behaviour across `smart` and `iot` devices
    such that a value of 0 is off.
    - Aligns `set_brightness` behaviour for `IotDimmer` such that setting
    the brightness turns on the device with a transition of 1ms. ([HA
    comment](home-assistant/core#117839 (comment)))
    - Fixes a typing issue in `LightState`.
    - Adds `ColorTempRange` and `HSV` to `__init__.py`
    - Adds a `state` property to the interface returning `LightState` for
    validating `set_state` changes.
    - Adds tests for `set_state`
    sdb9696 authored May 22, 2024
    Configuration menu
    Copy the full SHA
    db6e335 View commit details
    Browse the repository at this point in the history
  2. Add state feature for iot devices (#924)

    This is allows a generic implementation for the switch platform in the
    homeassistant integration.
    
    Also elevates set_state(bool) to be part of the standard API.
    rytilahti authored May 22, 2024
    Configuration menu
    Copy the full SHA
    23c5ee0 View commit details
    Browse the repository at this point in the history
  3. Prepare 0.7.0.dev1 (#931)

    [Full
    Changelog](0.7.0.dev0...0.7.0.dev1)
    
    **Implemented enhancements:**
    
    - Fix set\_state for common light modules
    [\#929](#929) (@sdb9696)
    - Add state feature for iot devices
    [\#924](#924)
    (@rytilahti)
    rytilahti authored May 22, 2024
    Configuration menu
    Copy the full SHA
    c1e1483 View commit details
    Browse the repository at this point in the history
Loading