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.dev1
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.dev2
Choose a head ref
  • 11 commits
  • 54 files changed
  • 4 contributors

Commits on May 23, 2024

  1. Do not show a zero error code when cli exits from showing help (#935)

    asyncclick raises a custom runtime exception when exiting help. This suppresses reporting it.
    rytilahti authored May 23, 2024
    Configuration menu
    Copy the full SHA
    b217811 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Initialize autooff features only when data is available (#933)

    For power strips, the autooff data needs to be requested from the
    children.
    Until we do that, we should not create these features to avoid crashing
    during switch platform initialization.
    
    This also ports the module to use `_initialize_features` and add tests.
    rytilahti authored May 24, 2024
    Configuration menu
    Copy the full SHA
    7671564 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Update documentation structure and start migrating to markdown (#934)

    Starts structuring the documentation library usage into Tutorials, Guides, Explanations and Reference.
    Continues migrating new docs from rst to markdown.
    Extends the test framework discovery mocks to allow easy writing and testing of code examples.
    sdb9696 authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    6616d68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    30e3703 View commit details
    Browse the repository at this point in the history
  3. Add fixture for S505D (#947)

    rytilahti authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    bfba7a3 View commit details
    Browse the repository at this point in the history
  4. Make device initialisation easier by reducing required imports (#936)

    Adds username and password arguments to discovery to remove the need to import Credentials.
    Creates TypeAliases in Device for connection configuration classes and DeviceType.
    Using the API with these changes will only require importing either Discover or Device
    depending on whether using Discover.discover() or Device.connect() to 
    initialize and interact with the API.
    sdb9696 authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    be5202c View commit details
    Browse the repository at this point in the history
  5. Do not raise on multi-request errors on child devices (#949)

    This will avoid crashing when some commands return an error on
    multi-requests on child devices.
    
    Idea from
    https://github.com/python-kasa/python-kasa/pull/900/files#r1624803457
    rytilahti authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    2234738 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Add P115 fixture (#950)

    rytilahti authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f890fce View commit details
    Browse the repository at this point in the history
  2. Add some device fixtures (#948)

    Adds some device fixtures by courtesy of @jimboca, thanks!
    This is a slightly patched and rebased version of #441.
    
    ---------
    
    Co-authored-by: JimBo <jimboca3@gmail.com>
    Co-authored-by: sdb9696 <steven.beth@gmail.com>
    3 people authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    40f2263 View commit details
    Browse the repository at this point in the history
  3. Fix P100 errors on multi-requests (#930)

    Fixes an issue reported by @bdraco with the P100 not working in the
    latest branch:
    
    `[Errno None] Can not write request body for HOST_REDACTED,
    ClientOSError(None, 'Can not write request body for
    URL_REDACTED'))`
    
    Issue caused by the number of multi requests going above the default
    batch of 5 and the P100 not being able to handle the second multi
    request happening immediately as it closes the connection after each
    query (See #690 for
    similar issue). This introduces a small wait time on concurrent requests
    once the device has raised a ClientOSError.
    sdb9696 authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    91de5e2 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Prepare 0.7.0.dev2 (#952)

    ## [0.7.0.dev2](https://github.com/python-kasa/python-kasa/tree/0.7.0.dev2) (2024-06-05)
    
    [Full Changelog](0.7.0.dev1...0.7.0.dev2)
    
    **Implemented enhancements:**
    
    - Make device initialisation easier by reducing required imports [\#936](#936) (@sdb9696)
    
    **Fixed bugs:**
    
    - Do not raise on multi-request errors on child devices [\#949](#949) (@rytilahti)
    - Do not show a zero error code when cli exits from showing help [\#935](#935) (@rytilahti)
    - Initialize autooff features only when data is available [\#933](#933) (@rytilahti)
    - Fix P100 errors on multi-requests [\#930](#930) (@sdb9696)
    
    **Documentation updates:**
    
    - Update documentation structure and start migrating to markdown [\#934](#934) (@sdb9696)
    
    **Closed issues:**
    
    - Simplify instance creation API [\#927](#927)
    
    **Merged pull requests:**
    
    - Add P115 fixture [\#950](#950) (@rytilahti)
    - Add some device fixtures [\#948](#948) (@rytilahti)
    - Add fixture for S505D [\#947](#947) (@rytilahti)
    - Fix passing custom port for dump\_devinfo [\#938](#938) (@rytilahti)
    sdb9696 authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    9deadaa View commit details
    Browse the repository at this point in the history
Loading