python-kasa/kasa
J. Nick Koston 94e5a90ac4
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>
2021-09-24 00:24:44 +02:00
..
tests Add emeter support for strip sockets (#203) 2021-09-24 00:24:44 +02:00
__init__.py Improve emeterstatus API, move into own module (#205) 2021-09-23 17:58:19 +02:00
cli.py Improve testing harness to allow tests on real devices (#197) 2021-09-19 23:45:48 +02:00
discover.py Add a note about using the discovery target parameter (#168) 2021-09-20 00:01:06 +02:00
emeterstatus.py Improve emeterstatus API, move into own module (#205) 2021-09-23 17:58:19 +02:00
exceptions.py Add retries to protocol queries (#65) 2020-05-27 20:02:09 +03:00
protocol.py Avoid temp array during encrypt and decrypt (#204) 2021-09-23 18:11:16 +02:00
smartbulb.py Improve emeterstatus API, move into own module (#205) 2021-09-23 17:58:19 +02:00
smartdevice.py Add emeter support for strip sockets (#203) 2021-09-24 00:24:44 +02:00
smartdimmer.py Add --transition to bulb-specific cli commands, fix turn_{on,off} signatures (#81) 2020-07-06 16:10:28 +02:00
smartlightstrip.py Add support for lightstrips (KL430) (#74) 2020-07-19 22:32:17 +02:00
smartplug.py Add --transition to bulb-specific cli commands, fix turn_{on,off} signatures (#81) 2020-07-06 16:10:28 +02:00
smartstrip.py Add emeter support for strip sockets (#203) 2021-09-24 00:24:44 +02:00