python-kasa/kasa
Teemu R 1ad2a05b65
Initial support for tapos with child devices (#720)
* Add ChildDevice and ChildProtocolWrapper

* Initialize & update children

* Fix circular imports

* Add dummy_protocol fixture and tests for unwrapping responseData

* Use dummy_protocol for existing smartprotocol tests

* Move _ChildProtocolWrapper to smartprotocol.py

* Use dummy_protocol for test multiple requests

* Use device_id instead of position for selecting the child

* Fix wrapping for regular requests

* Remove unused imports

* tweak

* rename child_device to childdevice

* Fix import
2024-01-29 17:11:29 +01:00
..
modules Add new cli command 'command' to execute arbitrary commands (#692) 2024-01-24 09:10:55 +01:00
tapo Initial support for tapos with child devices (#720) 2024-01-29 17:11:29 +01:00
tests Initial support for tapos with child devices (#720) 2024-01-29 17:11:29 +01:00
__init__.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
aestransport.py Avoid rebuilding urls for every request (#715) 2024-01-29 15:26:00 +00:00
cli.py Replace rich formatting stripper (#706) 2024-01-25 08:49:26 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
device_type.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
deviceconfig.py Enable batching of multiple requests (#662) 2024-01-29 11:55:54 +01:00
discover.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
exceptions.py Avoid rebuilding urls for every request (#715) 2024-01-29 15:26:00 +00:00
httpclient.py Avoid rebuilding urls for every request (#715) 2024-01-29 15:26:00 +00:00
iotprotocol.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Avoid rebuilding urls for every request (#715) 2024-01-29 15:26:00 +00: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
smartbulb.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartdevice.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00
smartdimmer.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartlightstrip.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartplug.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
smartprotocol.py Initial support for tapos with child devices (#720) 2024-01-29 17:11:29 +01:00
smartstrip.py Rename base TPLinkProtocol to BaseProtocol (#669) 2024-01-22 16:28:30 +01:00
xortransport.py Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport (#710) 2024-01-26 09:11:31 +00:00