8000 Comparing 0.4.0.dev4...0.4.0.dev5 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

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.4.0.dev4
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.4.0.dev5
Choose a head ref
  • 4 commits
  • 16 files changed
  • 2 contributors

Commits on Sep 24, 2021

  1. Cleanup discovery & add tests (#212)

    * Cleanup discovery & add tests
    
    * discovered_devices_raw is not anymore available, as that can be accessed directly from the device objects
    * test most of the discovery code paths
    * some minor cleanups to test handling
    * update discovery docs
    
    * Move category check to be after the definitions
    
    * skip a couple of tests requiring asyncmock not available on py37
    
    * Remove return_raw usage from cli.discover
    rytilahti authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    acb221b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1b28e7 View commit details
    Browse the repository at this point in the history
  3. Keep connection open and lock to prevent duplicate requests (#213)

    * Keep connection open and lock to prevent duplicate requests
    
    * option to not update children
    
    * tweaks
    
    * typing
    
    * tweaks
    
    * run tests in the same event loop
    
    * memorize model
    
    * Update kasa/protocol.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * Update kasa/protocol.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * Update kasa/protocol.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * Update kasa/protocol.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * dry
    
    * tweaks
    
    * warn when the event loop gets switched out from under us
    
    * raise on unable to connect multiple times
    
    * fix patch target
    
    * tweaks
    
    * isrot
    
    * reconnect test
    
    * prune
    
    * fix mocking
    
    * fix mocking
    
    * fix test under python 3.7
    
    * fix test under python 3.7
    
    * less patching
    
    * isort
    
    * use mocker to patch
    
    * disable on old python since mocking doesnt work
    
    * avoid disconnect/reconnect cycles
    
    * isort
    
    * Fix hue validation
    
    * Fix latitude_i/longitude_i units
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    bdraco and rytilahti authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    e31cc66 View commit details
    Browse the repository at this point in the history
  4. Release 0.4.0.dev5 (#215)

    This release introduces re-using the device connection to get rid of (sometimes slow) connection establishment.
    This is especially useful for emeter-enabled smart strips or any other usecases requiring consecutive I/O requests.
    
    [Full Changelog](0.4.0.dev4...0.4.0.dev5)
    
    **Merged pull requests:**
    
    - Add KL130 fixture, initial lightstrip tests [\#214](#214) ([rytilahti](https://github.com/rytilahti))
    - Keep connection open and lock to prevent duplicate requests [\#213](#213) ([bdraco](https://github.com/bdraco))
    - Cleanup discovery & add tests [\#212](#212) ([rytilahti](https://github.com/rytilahti))
    rytilahti authored Sep 24, 2021
    Configuration menu
    Copy the full SHA
    85f17ab View commit details
    Browse the repository at this point in the history
Loading
0