python-kasa/kasa/tests
sdb9696 30f217b8ab
Add klap protocol (#509)
* Add support for the new encryption protocol

This adds support for the new TP-Link discovery and encryption
protocols. It is currently incomplete - only devices without
username and password are current supported, and single device
discovery is not implemented.

Discovery should find both old and new devices. When accessing
a device by IP the --klap option can be specified on the command
line to active the new connection protocol.

sdb9696 - This commit also contains 16 later commits from Simon Wilkinson
squashed into the original

* Update klap changes 2023 to fix encryption, deal with kasa credential switching and work with new discovery changes

* Move from aiohttp to httpx

* Changes following review comments

---------

Co-authored-by: Simon Wilkinson <simon@sxw.org.uk>
2023-11-20 14:17:10 +01:00
..
fixtures Add new HS100(UK) fixture (#489) 2023-08-03 13:20:09 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Make timeout adjustable (#494) 2023-10-07 20:58:00 +02:00
newfakes.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
test_bulb.py Allow effect presets seen on light strips (#440) 2023-04-01 16:15:58 +02:00
test_cli.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
test_dimmer.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_discovery.py Add klap protocol (#509) 2023-11-20 14:17:10 +01:00
test_emeter.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_klapprotocol.py Add klap protocol (#509) 2023-11-20 14:17:10 +01:00
test_lightstrip.py Add transition parameter to lightstrip's set_effect (#416) 2023-02-18 18:03:54 +01:00
test_plug.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_protocol.py Make device port configurable (#471) 2023-07-10 01:55:27 +02:00
test_readme_examples.py Drop python 3.7 support (#455) 2023-05-17 20:03:08 +02:00
test_smartdevice.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
test_strip.py Some release preparation janitoring (#432) 2023-02-18 22:09:35 +01:00
test_usage.py Return usage.get_{monthstat,daystat} in expected format (#394) 2023-02-18 20:53:02 +01:00