mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
1aee353cbf
* Update smartplug.py to support dimming in HS220 Switch functions essentially as a "plug" with the addition to support for dimming, for which can be test for by verifying existence of 'brightness' array value. * Attempt at updates to pass validator * Maybe this time? :-) * Add more detail to comment blocks Make clear in requests for current brightness level the expected return values, and note that light will turn on when setting a brightness level, if not already on. This makes clear that a state change request (turn_on) does NOT have to be made first when setting brightness. * Update smartplug.py * Update smartplug.py Fixes #114 |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
cli.py | ||
discover.py | ||
protocol.py | ||
smartbulb.py | ||
smartdevice.py | ||
smartplug.py |