python-kasa/kasa/tests
Teemu R 2b0721aea9
Generalize smartdevice child support (#775)
* Initialize children's modules (and features) using the child component negotiation results
* Set device_type based on the device response
* Print out child features in cli 'state'
* Add --child option to cli 'command' to allow targeting child devices
* Guard "generic" features like rssi, ssid, etc. only to devices which have this information

Note, we do not currently perform queries on child modules so some data may not be available. At the moment, a stop-gap solution to use parent's data is used but this is not always correct; even if the device shares the same clock and cloud connectivity, it may have its own firmware updates.
2024-02-22 20:46:19 +01:00
..
fixtures Fix devtools for P100 and add fixture (#753) 2024-02-14 19:43:10 +00:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Remove SmartPlug in favor of SmartDevice (#781) 2024-02-22 14:34:55 +01:00
fakeprotocol_iot.py Various test code cleanups (#725) 2024-01-29 20:26:39 +01:00
fakeprotocol_smart.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_aestransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_bulb.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_childdevice.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
test_cli.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
test_device_factory.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_device_type.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_dimmer.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_discovery.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_emeter.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_feature.py Add generic interface for accessing device features (#741) 2024-02-15 16:25:08 +01:00
test_httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_klapprotocol.py Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
test_lightstrip.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_plug.py Remove SmartPlug in favor of SmartDevice (#781) 2024-02-22 14:34:55 +01:00
test_protocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_readme_examples.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
test_smartdevice.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
test_smartprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_strip.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
test_usage.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00