mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-04 01:34:12 +00:00
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>
This commit is contained in:
@@ -15,3 +15,4 @@ python-kasa documentation
|
||||
smartplug
|
||||
smartdimmer
|
||||
smartstrip
|
||||
smartlightstrip
|
||||
|
6
docs/source/smartlightstrip.rst
Normal file
6
docs/source/smartlightstrip.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
Light strips
|
||||
============
|
||||
|
||||
.. autoclass:: kasa.SmartLightStrip
|
||||
:members:
|
||||
:undoc-members:
|
Reference in New Issue
Block a user