8000 Comparing 0.4.0.dev3...0.4.0.dev4 · 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.dev3
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.dev4
Choose a head ref
  • 19 commits
  • 29 files changed
  • 7 contributors

Commits on Jun 19, 2021

  1. dump_devinfo: handle latitude/longitude keys properly (#175)

    * also, -d/--debug is now a flag
    rytilahti authored Jun 19, 2021
    Configuration menu
    Copy the full SHA
    799032a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. Add EP10(US) 1.0 1.0.2 fixture (#174)

    * Add EP10(US) 1.0 1.0.2 fixture
    
    * Add EP10 fixture to conftest PLUGS list.
    
    * Add EP10 to the list of supported plugs in README
    
    * Revert "Add EP10 to the list of supported plugs in README"
    
    This reverts commit e8bf655.
    nbrew authored Jun 24, 2021
    Configuration menu
    Copy the full SHA
    6184c0c View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Configuration menu
    Copy the full SHA
    4e8a318 View commit details
    Browse the repository at this point in the history
  2. Add real kasa KL430(UN) device dump (#192)

    * Add real kasa KL430(UN) device dump
    
    * Adjust hue&sat max values
    
    * light strips, as bulbs, have only power for emeter
    
    Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
    iprodanovbg and rytilahti authored Aug 16, 2021
    Configuration menu
    Copy the full SHA
    7c9d21a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2021

  1. cli: add human-friendly printout when calling temperature on non-supp…

    …orted devices (#196)
    
    * Bug Fix
    
    Temperature is not supported on plugs
    
    * Efficiency on support errors
    
    * Update kasa/cli.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    JaydenRA and rytilahti authored Sep 4, 2021
    Configuration menu
    Copy the full SHA
    f8e7258 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Perform initial update only using the sysinfo query (#199)

    Some devices are known to fail when trying to query non-supported modules like emeter information.
    This commit makes the initial update() only request the sysinfo, followed up by a second query
    if emeter is supported by the device.
    rytilahti authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    b088596 View commit details
    Browse the repository at this point in the history
  2. Improve testing harness to allow tests on real devices (#197)

    * test_cli: provide return values to patched objects to avoid warning about non-awaited calls
    
    * test_cli: restore alias after testing
    
    * smartstrip: remove internal update() calls for turn_{on,off}, set_led
    
    * Make sure power is always a float
    
    * Fix discovery tests
    
    * Make tests runnable on real devices
    
    * Add a note about running tests on a real device
    
    * test_strip: run update against the parent device
    rytilahti authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    1803a83 View commit details
    Browse the repository at this point in the history
  3. Improve bulb support (alias, time settings) (#198)

    * Fix set_alias and time related functions for bulbs
    
    * Fix tests for smartlife.iot.common.timesetting and smartlife.iot.common.system
    rytilahti authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    016d030 View commit details
    Browse the repository at this point in the history
  4. Add a note about using the discovery target parameter (#168)

    * Update discover.py
    
    Updated discovery documentation for multiple interfaces explanation
    
    * revise
    
    Co-authored-by: Teemu R <tpr@iki.fi>
    leandroreox and rytilahti authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    7565d03 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. bulb: allow set_hsv without v, add fallback ct range (#200)

    * bulb: allow set_hsv without v, add fallback ct range
    
    * add ColorTempRange and HSV named tuples
    * add a fallback color temp range if unknown, log a warning
    * set_hsv: the value is now optional
    
    * Fix tests, change fallback range to 2700-5000
    rytilahti authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    2c83d8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    151976b View commit details
    Browse the repository at this point in the history
  3. Add KP115 fixture (#202)

    rytilahti authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    47a1405 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. Improve emeterstatus API, move into own module (#205)

    Adds the following properties to EmeterStatus for saner API:
    * voltage (in V)
    * power (in W)
    * current (in A)
    * total (in kWh)
    rytilahti authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    36c412a View commit details
    Browse the repository at this point in the history
  2. Avoid temp array during encrypt and decrypt (#204)

    * Avoid temp array during encrypt
    
    * black
    
    * Update kasa/protocol.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * Update kasa/protocol.py
    
    * update decrypt as well
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    bdraco and rytilahti authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    b3c8f97 View commit details
    Browse the repository at this point in the history
  3. Use github actions instead of azure pipelines (#206)

    * Use github actions instead of azure pipelines
    
    * add codecov badge
    rytilahti authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    41bed35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    202d107 View commit details
    Browse the repository at this point in the history
  5. More CI fixes (#208)

    * Remove bandit from CI, update poetry.lock&pre-commit-config.yaml
    
    * We don't support python 3.6
    
    * poetry install also on tests flow
    
    * remove pytest-azurepipelines
    rytilahti authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    d720288 View commit details
    Browse the repository at this point in the history
  6. Add emeter support for strip sockets (#203)

    * Add support for plugs with emeters.
    
    * Tweaks for emeter
    
    * black
    
    * tweaks
    
    * tweaks
    
    * more tweaks
    
    * dry
    
    * flake8
    
    * flake8
    
    * legacy typing
    
    * Update kasa/smartstrip.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * reduce
    
    * remove useless delegation
    
    * tweaks
    
    * tweaks
    
    * dry
    
    * tweak
    
    * tweak
    
    * tweak
    
    * tweak
    
    * update tests
    
    * wrap
    
    * preen
    
    * prune
    
    * prune
    
    * prune
    
    * guard
    
    * adjust
    
    * robust
    
    * prune
    
    * prune
    
    * reduce dict lookups by 1
    
    * Update kasa/smartstrip.py
    
    Co-authored-by: Teemu R. <tpr@iki.fi>
    
    * delete utils
    
    * isort
    
    Co-authored-by: Brendan Burns <brendan.d.burns@gmail.com>
    Co-authored-by: Teemu R. <tpr@iki.fi>
    3 people authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    94e5a90 View commit details
    Browse the repository at this point in the history
  7. Release 0.4.0.dev4 (#210)

    * Release 0.4.0.dev4
    
    The most important enhancements in this release are:
    * Support for emeter on strip sockets
    * Fix discovery and update() on some devices that do not support multi-module queries (e.g., HS200)
    * Improved support for bulbs
    
    [Full Changelog](0.4.0.dev3...0.4.0.dev4)
    
    **Implemented enhancements:**
    
    - HS300 Children plugs have emeter [\#64](#64)
    - Improve emeterstatus API, move into own module [\#205](#205) ([rytilahti](https://github.com/rytilahti))
    - Avoid temp array during encrypt and decrypt [\#204](#204) ([bdraco](https://github.com/bdraco))
    - Add emeter support for strip sockets [\#203](#203) ([bdraco](https://github.com/bdraco))
    - Add own device type for smartstrip children [\#201](#201) ([rytilahti](https://github.com/rytilahti))
    - bulb: allow set\_hsv without v, add fallback ct range [\#200](#200) ([rytilahti](https://github.com/rytilahti))
    - Improve bulb support \(alias, time settings\) [\#198](#198) ([rytilahti](https://github.com/rytilahti))
    - Improve testing harness to allow tests on real devices [\#197](#197) ([rytilahti](https://github.com/rytilahti))
    - cli: add human-friendly printout when calling temperature on non-supported devices [\#196](#196) ([JaydenRA](https://github.com/JaydenRA))
    
    **Fixed bugs:**
    
    - KL430: Throw error for Device specific information [\#189](#189)
    - dump\_devinfo: handle latitude/longitude keys properly [\#175](#175) ([rytilahti](https://github.com/rytilahti))
    
    **Closed issues:**
    
    - Feature Request - Toggle Command [\#188](#188)
    - Is It Compatible With HS105? [\#186](#186)
    - Cannot use some functions with KP303 [\#181](#181)
    - Help needed - awaiting game  [\#179](#179)
    - Version inconsistency between CLI and pip [\#177](#177)
    - Release 0.4.0.dev3? [\#169](#169)
    - Discover does not support specifying network interface [\#167](#167)
    - Can't command or query HS200 v5 switch [\#161](#161)
    
    **Merged pull requests:**
    
    - More CI fixes [\#208](#208) ([rytilahti](https://github.com/rytilahti))
    - Fix CI dep installation [\#207](#207) ([rytilahti](https://github.com/rytilahti))
    - Use github actions instead of azure pipelines [\#206](#206) ([rytilahti](https://github.com/rytilahti))
    - Add KP115 fixture [\#202](#202) ([rytilahti](https://github.com/rytilahti))
    - Perform initial update only using the sysinfo query [\#199](#199) ([rytilahti](https://github.com/rytilahti))
    - Add real kasa KL430\(UN\) device dump [\#192](#192) ([iprodanovbg](https://github.com/iprodanovbg))
    - Use less strict matcher for kl430 color temperature [\#190](#190) ([rytilahti](https://github.com/rytilahti))
    - Add EP10\(US\) 1.0 1.0.2 fixture [\#174](#174) ([nbrew](https://github.com/nbrew))
    - Add a note about using the discovery target parameter [\#168](#168) ([leandroreox](https://github.com/leandroreox))
    
    * replace pypy3 with pypy-3.7 as we do not support python3.6 anyway
    
    * skip pypy-3.7 on windows to avoid flaky ci
    rytilahti authored Sep 23, 2021
    Configuration menu
    Copy the full SHA
    bdb07a7 View commit details
    Browse the repository at this point in the history
Loading
0