python-kasa/kasa
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
..
iot Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
smart Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
tests Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
__init__.py Remove SmartPlug in favor of SmartDevice (#781) 2024-02-22 14:34:55 +01:00
aestransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
bulb.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
cli.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Remove SmartPlug in favor of SmartDevice (#781) 2024-02-22 14:34:55 +01:00
device_type.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
device.py Generalize smartdevice child support (#775) 2024-02-22 20:46:19 +01:00
deviceconfig.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
discover.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Avoid crashing on childdevice property accesses (#732) 2024-02-02 17:29:14 +01:00
exceptions.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
feature.py Auto auto-off module for smartdevice (#760) 2024-02-19 21:11:11 +01:00
httpclient.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
iotprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Retry query on 403 after succesful handshake (#785) 2024-02-22 18:02:03 +01:00
module.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
plug.py Refactor devices into subpackages and deprecate old names (#716) 2024-02-04 16:20:08 +01:00
protocol.py Use hashlib in place of hashes.Hash (#714) 2024-01-26 06:57:56 -10:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartprotocol.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00
xortransport.py Rename and deprecate exception classes (#739) 2024-02-21 16:52:55 +01:00