python-kasa/kasa/tests
Steven B 7fd5c213e6
Defer module updates for less volatile modules (#1052)
Addresses stability issues on older hw device versions

 - Handles module timeout errors better by querying modules individually on errors and disabling problematic modules like Firmware that go out to the internet to get updates.
- Addresses an issue with the Led module on P100 hardware version 1.0 which appears to have a memory leak and will cause the device to crash after approximately 500 calls.
- Delays updates of modules that do not have regular changes like LightPreset and LightEffect and enables them to be updated on the next update cycle only if required values have changed.
2024-07-11 16:21:59 +01:00
..
fixtures Add KP400(US) v1.0.4 fixture (#1051) 2024-07-07 14:23:24 +02:00
smart Use first known thermostat state as main state (#1054) 2024-07-11 15:11:50 +02:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Fix potential infinite loop if incomplete lists returned (#920) 2024-05-19 10:34:52 +01:00
device_fixtures.py Add new HS220 kasa aes fixture (#1050) 2024-07-07 14:22:43 +02:00
discovery_fixtures.py Update light transition module to work with child devices (#1017) 2024-06-27 18:52:54 +01:00
fakeprotocol_iot.py Fix credential hash to return None on empty credentials (#1029) 2024-07-02 13:43:37 +01:00
fakeprotocol_smart.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
fixtureinfo.py Update light transition module to work with child devices (#1017) 2024-06-27 18:52:54 +01:00
test_aestransport.py Handle unknown error codes gracefully (#1016) 2024-06-27 16:58:45 +02:00
test_bulb.py Add some device fixtures (#948) 2024-06-04 19:24:53 +02:00
test_childdevice.py Make parent attribute on device consistent across iot and smart (#1023) 2024-07-01 11:51:06 +01:00
test_cli.py Structure cli into a package (#1038) 2024-07-04 14:52:01 +02:00
test_common_modules.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
test_device_factory.py Update light transition module to work with child devices (#1017) 2024-06-27 18:52:54 +01: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 Configure mypy to run in virtual environment and fix resulting issues (#989) 2024-06-19 15:07:59 +02:00
test_deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_dimmer.py Fix set_state for common light modules (#929) 2024-05-22 15:33:55 +02:00
test_discovery.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
test_emeter.py Configure mypy to run in virtual environment and fix resulting issues (#989) 2024-06-19 15:07:59 +02:00
test_feature.py Require explicit feature type (#1006) 2024-06-25 18:30:36 +02:00
test_httpclient.py Configure mypy to run in virtual environment and fix resulting issues (#989) 2024-06-19 15:07:59 +02:00
test_iotdevice.py Drop python3.8 support (#992) 2024-06-19 20:24:12 +02:00
test_klapprotocol.py Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
test_lightstrip.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +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 Fix credential hash to return None on empty credentials (#1029) 2024-07-02 13:43:37 +01:00
test_readme_examples.py Update docs with more howto examples (#968) 2024-06-19 09:53:40 +01:00
test_smartdevice.py Defer module updates for less volatile modules (#1052) 2024-07-11 16:21:59 +01:00
test_smartprotocol.py Defer module updates for less volatile modules (#1052) 2024-07-11 16:21:59 +01:00
test_strip.py Fix post update hook for iot child devices (#1011) 2024-06-25 17:58:07 +00:00
test_usage.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00