python-kasa/kasa
Connor Proctor dd073fa8c8
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).
2020-06-14 18:09:28 +02:00
..
tests Add transition support for SmartDimmer (#69) 2020-06-14 18:09:28 +02:00
__init__.py Add retries to protocol queries (#65) 2020-05-27 20:02:09 +03:00
cli.py General cleanups all around (janitoring) (#63) 2020-05-27 16:55:18 +02:00
discover.py General cleanups all around (janitoring) (#63) 2020-05-27 16:55:18 +02:00
exceptions.py Add retries to protocol queries (#65) 2020-05-27 20:02:09 +03:00
protocol.py Add retries to protocol queries (#65) 2020-05-27 20:02:09 +03:00
smartbulb.py General cleanups all around (janitoring) (#63) 2020-05-27 16:55:18 +02:00
smartdevice.py Add retries to protocol queries (#65) 2020-05-27 20:02:09 +03:00
smartdimmer.py Add transition support for SmartDimmer (#69) 2020-06-14 18:09:28 +02:00
smartplug.py General cleanups all around (janitoring) (#63) 2020-05-27 16:55:18 +02:00
smartstrip.py General cleanups all around (janitoring) (#63) 2020-05-27 16:55:18 +02:00