-
-
Notifications
You must be signed in to change notification settings - Fork 239
Comparing changes
Open a pull request
base repository: python-kasa/python-kasa
base: 0.4.0.dev0
head repository: python-kasa/python-kasa
compare: 0.4.0.dev1
- 12 commits
- 45 files changed
- 3 contributors
Commits on Jun 14, 2020
-
Add transition support for SmartDimmer (#69)
* Adds a transition param to set_brightness(), turn_on(), and turn_off() that specifies the duration in milliseconds that the dimmer switch will take to transition to the new state. * Fixes bug where set_brightness(0) was allowed even though the dimmer does not support it. Now brightness values of 0 are coerced to 1 to be consistent with bulbs (which do support brightness values of 0).
Configuration menu - View commit details
-
Copy full SHA for dd073fa - Browse repository at this point
Copy the full SHA dd073faView commit details -
Bulbs: allow specifying transition for state changes (#70)
All state changing functions now allow defining transition time in milliseconds
Configuration menu - View commit details
-
Copy full SHA for 99e0c4a - Browse repository at this point
Copy the full SHA 99e0c4aView commit details
Commits on Jun 30, 2020
-
Simplify API documentation by using doctests (#73)
* Add doctests to SmartBulb * Add SmartDevice doctests, cleanup README.md * add doctests for smartplug and smartstrip * add discover doctests * Fix bulb mock * add smartdimmer doctests * add sphinx-generated docs, cleanup readme a bit * remove sphinx-click as it does not work with asyncclick * in preparation for rtd hooking, move doc deps to be separate from dev deps * pytestmark needs to be applied separately for each and every file, this fixes the tests * use pathlib for resolving relative paths * Skip discovery doctest on python3.7 The code is just fine, but some reason the mocking behaves differently between 3.7 and 3.8. The latter seems to accept a discrete object for asyncio.run where the former expects a coroutine..
Configuration menu - View commit details
-
Copy full SHA for f9a987c - Browse repository at this point
Copy the full SHA f9a987cView commit details
Commits on Jul 6, 2020
-
Improve bulb API, force turn on for all light changes as offline chan…
…ges are not supported (#76) * Add ignore_default to lights to allow setting to specific light state, force bulb on when changing the settings, allow defining brightness for set_color_temp, add a couple of new API methods * Fix and simplify transition_light_state to make tests pass
Configuration menu - View commit details
-
Copy full SHA for 44e2998 - Browse repository at this point
Copy the full SHA 44e2998View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d722e2 - Browse repository at this point
Copy the full SHA 4d722e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96c1536 - Browse repository at this point
Copy the full SHA 96c1536View commit details
Commits on Jul 12, 2020
-
Improve installation instructions (#86)
* Improve installation instructions * Add simple instructions how to install the package * Move the list of supported devices to the end of the file Fixes #60 (hopefully) * Remove 'see below for devenv instructions'
Configuration menu - View commit details
-
Copy full SHA for fccb897 - Browse repository at this point
Copy the full SHA fccb897View commit details -
Add parse_pcap to devtools, improve readme on contributing (#84)
* Add parse_pcap to devtools, improve readme on contributing * simplify context extraction
Configuration menu - View commit details
-
Copy full SHA for 713b443 - Browse repository at this point
Copy the full SHA 713b443View commit details -
add .readthedocs.yml required for poetry doc builds (#89)
* add .readthedocs.yml required for poetry builds * require python 3.7 for builds * Add documentation badge, fix the docs link
Configuration menu - View commit details
-
Copy full SHA for 0edbb43 - Browse repository at this point
Copy the full SHA 0edbb43View commit details
Commits on Jul 19, 2020
-
Add support for lightstrips (KL430) (#74)
* Preliminary support for light strips * Add color temperature range and cleanup, thanks to @darkoppressor * Use lightstrip instead of {led,light}strip consistently everywhere * The cli flag is now --lightstrip * add apidocs * Add fixture file for KL430 Signed-off-by: Kevin Wells <darkoppressor@gmail.com> * Add discovery support, expose effect and length of the strip * use set_light_state instead of transition_light_state * Add tests for lightstrip * add doctests * Add KL430 to supported devices in README Co-authored-by: Kevin Wells <darkoppressor@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d30d00a - Browse repository at this point
Copy the full SHA d30d00aView commit details
Commits on Jul 20, 2020
-
add a small example script to show library usage (#90)
* add a small example script to show library usage * asyncio.run++
Configuration menu - View commit details
-
Copy full SHA for 6844166 - Browse repository at this point
Copy the full SHA 6844166View commit details
Commits on Jul 28, 2020
-
* Release 0.4.0.pre1 * update RELEASING.md * Fix release naming from .pre to .dev
Configuration menu - View commit details
-
Copy full SHA for c67bda8 - Browse repository at this point
Copy the full SHA c67bda8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.4.0.dev0...0.4.0.dev1