python-kasa/kasa/tests
Steven B eff8db450d
Support for new ks240 fan/light wall switch (#839)
In order to support the ks240 which has children for the fan and light
components, this PR adds those modules at the parent level and hides the
children so it looks like a single device to consumers. It also decides
which modules not to take from the child because the child does not
support them even though it say it does. It does this for now via a
fixed list, e.g. `Time`, `Firmware` etc.

Also adds fixtures from two versions and corresponding tests.
2024-04-24 20:17:49 +02:00
..
fixtures Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
smart Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
device_fixtures.py Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
discovery_fixtures.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
fakeprotocol_iot.py Fix incorrect state updates in FakeTestProtocols (#861) 2024-04-24 12:25:16 +01:00
fakeprotocol_smart.py Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
fixtureinfo.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
test_aestransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
test_bulb.py Fix incorrect state updates in FakeTestProtocols (#861) 2024-04-24 12:25:16 +01:00
test_childdevice.py Add fan module (#764) 2024-04-17 11:07:16 +01:00
test_cli.py Fix incorrect state updates in FakeTestProtocols (#861) 2024-04-24 12:25:16 +01:00
test_device_factory.py Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
test_device_type.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_device.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
test_deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_dimmer.py Fix incorrect state updates in FakeTestProtocols (#861) 2024-04-24 12:25:16 +01:00
test_discovery.py Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
test_emeter.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_feature.py Embed FeatureType inside Feature (#860) 2024-04-24 18:38:52 +02:00
test_httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_iotdevice.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
test_klapprotocol.py Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
test_lightstrip.py Fix incorrect state updates in FakeTestProtocols (#861) 2024-04-24 12:25:16 +01:00
test_plug.py Refactor split smartdevice tests to test_{iot,smart}device (#822) 2024-03-15 15:55:48 +00:00
test_protocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_readme_examples.py Refactor test framework (#794) 2024-02-27 18:39:04 +01:00
test_smartdevice.py Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
test_smartprotocol.py Re-query missing responses after multi request errors (#850) 2024-04-20 17:24:49 +02:00
test_strip.py Refactor split smartdevice tests to test_{iot,smart}device (#822) 2024-03-15 15:55:48 +00:00
test_usage.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00