python-kasa 0.9.0__tar.gz → 0.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_kasa-0.9.0 → python_kasa-0.9.1}/CHANGELOG.md +55 -17
- {python_kasa-0.9.0 → python_kasa-0.9.1}/PKG-INFO +2 -2
- {python_kasa-0.9.0 → python_kasa-0.9.1}/README.md +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/generate_supported.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/discover.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/exceptions.py +1 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/feature.py +2 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/protocols/iotprotocol.py +14 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/protocols/smartcamprotocol.py +11 -6
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/protocols/smartprotocol.py +24 -8
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/smartchilddevice.py +1 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/babycrydetection.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/motiondetection.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/persondetection.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/tamperdetection.py +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/klaptransport.py +8 -5
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/sslaestransport.py +149 -15
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/xortransport.py +13 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/pyproject.toml +1 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/device_fixtures.py +11 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fakeprotocol_smartcam.py +15 -4
- python_kasa-0.9.1/tests/fixtures/iot/HS210(US)_3.0_1.0.10.json +63 -0
- python_kasa-0.9.1/tests/fixtures/smart/child/S210(EU)_1.0_1.9.0.json +168 -0
- python_kasa-0.9.1/tests/fixtures/smart/child/S220(EU)_1.0_1.9.0.json +158 -0
- python_kasa-0.9.1/tests/fixtures/smartcam/C210_2.0_1.3.11.json +870 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/protocols/test_iotprotocol.py +205 -1
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/protocols/test_smartprotocol.py +41 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/test_sslaestransport.py +217 -9
- {python_kasa-0.9.0 → python_kasa-0.9.1}/.gitignore +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/LICENSE +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/README.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/bench/benchmark.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/bench/utils/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/bench/utils/data.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/bench/utils/original.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/create_module_fixtures.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/dump_devinfo.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/helpers/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/helpers/smartcamrequests.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/helpers/smartrequests.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/parse_pcap.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/parse_pcap_klap.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/perftest.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/devtools/update_fixtures.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/Makefile +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/make.bat +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/SUPPORTED.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/_static/copybutton.js +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/cli.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/codeinfo.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/conf.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/contribute.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/deprecated.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/featureattributes.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/connect.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/device.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/discover.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/energy.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/feature.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/light.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/module.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides/strip.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/guides.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/index.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/library.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/reference.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartbulb.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartdevice.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartdimmer.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartlightstrip.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartplug.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/smartstrip.rst +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/topics.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/source/tutorial.md +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/docs/tutorial.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cachedzoneinfo.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/__main__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/common.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/device.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/feature.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/lazygroup.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/light.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/main.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/schedule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/time.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/usage.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/cli/wifi.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/credentials.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/device.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/device_factory.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/device_type.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/deviceconfig.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/discover.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/emeterstatus.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/httpclient.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/energy.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/fan.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/led.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/light.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/lighteffect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/lightpreset.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/thermostat.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/interfaces/time.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/effects.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotbulb.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotcamera.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotdimmer.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotlightstrip.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotmodule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotplug.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iotstrip.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/iottimezone.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/ambientlight.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/antitheft.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/cloud.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/countdown.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/emeter.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/led.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/light.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/lighteffect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/lightpreset.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/motion.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/rulemodule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/schedule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/time.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/iot/modules/usage.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/json.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/module.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/modulemapping.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/modulemapping.pyi +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/protocols/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/protocols/protocol.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/py.typed +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/effects.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/alarm.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/autooff.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/batterysensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/brightness.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/childdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/childprotection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/cloud.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/color.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/colortemperature.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/contactsensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/devicemodule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/energy.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/fan.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/firmware.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/frostprotection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/homekit.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/humiditysensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/led.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/light.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/lighteffect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/lightpreset.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/lightstripeffect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/lighttransition.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/matter.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/motionsensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/overheatprotection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/reportmode.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/temperaturecontrol.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/temperaturesensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/thermostat.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/time.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/triggerlogs.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/modules/waterleaksensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/smartdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smart/smartmodule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/alarm.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/camera.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/childdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/device.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/homekit.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/led.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/lensmask.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/matter.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/pantilt.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/modules/time.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/smartcamdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/smartcam/smartcammodule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/aestransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/basetransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/linkietransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/kasa/transports/ssltransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/conftest.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/discovery_fixtures.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fakeprotocol_iot.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fakeprotocol_smart.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtureinfo.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/EP10(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/EP40(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS100(UK)_1.0_1.2.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS100(UK)_4.1_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS100(US)_1.0_1.2.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS100(US)_2.0_1.5.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS103(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS105(US)_1.0_1.5.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS107(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS110(EU)_1.0_1.2.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS110(EU)_4.0_1.0.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS110(US)_1.0_1.2.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS200(US)_2.0_1.5.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS200(US)_3.0_1.1.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS210(US)_1.0_1.5.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS210(US)_2.0_1.1.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS220(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS220(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.12.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL125(US)_1.20_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL125(US)_2.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL125(US)_4.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL130(EU)_1.0_1.8.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL130(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.15.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL420L5(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL430(UN)_2.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL430(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL50(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL60(UN)_1.0_1.1.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KL60(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP100(US)_3.0_1.0.1.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP115(EU)_1.0_1.0.16.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.17.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP125(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP200(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP303(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP400(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP400(US)_2.0_1.0.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP401(US)_1.0_1.0.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS200(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.12.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS220(US)_1.0_1.0.13.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS220M(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/KS230(US)_1.0_1.0.14.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iot/LB110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/iotcam/EC60(US)_4.0_2.3.22.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/serialization/deviceconfig_camera-aes-https.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/serialization/deviceconfig_plug-klap.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/serialization/deviceconfig_plug-xor.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/EP40M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/HS200(US)_5.26_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KH100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KH100(EU)_1.0_1.5.12.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KP125M(US)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L630(EU)_1.0_1.1.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P100(US)_1.0.0_1.1.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P100(US)_1.0.0_1.3.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P100(US)_1.0.0_1.4.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P110M(AU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P110M(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P115(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P135(US)_1.0_1.2.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P210M(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/P306(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/S200B(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/S200B(US)_1.0_1.12.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T110(US)_1.0_1.9.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smart/child/T315(US)_1.0_1.8.0.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C100_4.0_1.3.14.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.3.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C225(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C325WB(EU)_1.0_1.1.17.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/C520WS(US)_1.0_1.2.8.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/H200(US)_1.0_1.3.6.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/TC65_1.0_1.3.9.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/fixtures/smartcam/TC70_3.0_1.3.11.json +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_ambientlight.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_cloud.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_emeter.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_motion.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_schedule.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/modules/test_usage.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/test_iotbulb.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/test_iotdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/test_iotdimmer.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/test_iotlightstrip.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/iot/test_wallswitch.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/protocols/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/features/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/features/test_brightness.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/features/test_colortemp.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_autooff.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_childprotection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_contact.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_energy.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_fan.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_firmware.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_homekit.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_humidity.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_light_effect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_light_strip_effect.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_lighttransition.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_matter.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_motionsensor.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_temperature.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_temperaturecontrol.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_triggerlogs.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/modules/test_waterleak.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smart/test_smartdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_alarm.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_babycrydetection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_camera.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_motiondetection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_persondetection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/modules/test_tamperdetection.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/smartcam/test_smartcamdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_bulb.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_childdevice.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_cli.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_common_modules.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_device.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_device_factory.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_device_type.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_deviceconfig.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_devtools.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_discovery.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_feature.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_httpclient.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_plug.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_readme_examples.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/test_strip.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/__init__.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/test_aestransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/test_klaptransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/test_linkietransport.py +0 -0
- {python_kasa-0.9.0 → python_kasa-0.9.1}/tests/transports/test_ssltransport.py +0 -0
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1](https://github.com/python-kasa/python-kasa/tree/0.9.1) (2025-01-06)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.9.0...0.9.1)
|
|
6
|
+
|
|
7
|
+
**Release summary:**
|
|
8
|
+
|
|
9
|
+
- Support for hub-attached wall switches S210 and S220
|
|
10
|
+
- Support for older firmware on Tapo cameras
|
|
11
|
+
- Bugfixes and improvements
|
|
12
|
+
|
|
13
|
+
**Implemented enhancements:**
|
|
14
|
+
|
|
15
|
+
- Add support for Tapo hub-attached switch devices [\#1421](https://github.com/python-kasa/python-kasa/pull/1421) (@sdb9696)
|
|
16
|
+
- Use repr\(\) for enum values in Feature.\_\_repr\_\_ [\#1414](https://github.com/python-kasa/python-kasa/pull/1414) (@rytilahti)
|
|
17
|
+
- Update SslAesTransport for older firmware versions [\#1362](https://github.com/python-kasa/python-kasa/pull/1362) (@sdb9696)
|
|
18
|
+
|
|
19
|
+
**Fixed bugs:**
|
|
20
|
+
|
|
21
|
+
- T310 not detected with H200 Hub [\#1409](https://github.com/python-kasa/python-kasa/issues/1409)
|
|
22
|
+
- Backoff after xor timeout and improve error reporting [\#1424](https://github.com/python-kasa/python-kasa/pull/1424) (@bdraco)
|
|
23
|
+
- Fix incorrect obd src echo [\#1412](https://github.com/python-kasa/python-kasa/pull/1412) (@rytilahti)
|
|
24
|
+
- Handle smartcam partial list responses [\#1411](https://github.com/python-kasa/python-kasa/pull/1411) (@sdb9696)
|
|
25
|
+
|
|
26
|
+
**Added support for devices:**
|
|
27
|
+
|
|
28
|
+
- Add S220 fixture [\#1419](https://github.com/python-kasa/python-kasa/pull/1419) (@rytilahti)
|
|
29
|
+
- Add S210 fixture [\#1418](https://github.com/python-kasa/python-kasa/pull/1418) (@rytilahti)
|
|
30
|
+
|
|
31
|
+
**Documentation updates:**
|
|
32
|
+
|
|
33
|
+
- Improve exception messages on credential mismatches [\#1417](https://github.com/python-kasa/python-kasa/pull/1417) (@rytilahti)
|
|
34
|
+
|
|
35
|
+
**Project maintenance:**
|
|
36
|
+
|
|
37
|
+
- Add C210 2.0 1.3.11 fixture [\#1406](https://github.com/python-kasa/python-kasa/pull/1406) (@sdb9696)
|
|
38
|
+
- Add HS210\(US\) 3.0 1.0.10 IOT Fixture [\#1405](https://github.com/python-kasa/python-kasa/pull/1405) (@ZeliardM)
|
|
39
|
+
- Change smartcam detection features to category config [\#1402](https://github.com/python-kasa/python-kasa/pull/1402) (@sdb9696)
|
|
40
|
+
|
|
3
41
|
## [0.9.0](https://github.com/python-kasa/python-kasa/tree/0.9.0) (2024-12-21)
|
|
4
42
|
|
|
5
43
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.8.1...0.9.0)
|
|
@@ -21,23 +59,23 @@
|
|
|
21
59
|
|
|
22
60
|
**Implemented enhancements:**
|
|
23
61
|
|
|
24
|
-
- Add rssi and signal\_level to smartcam [\#1392](https://github.com/python-kasa/python-kasa/pull/1392) (@sdb9696)
|
|
25
|
-
- Add smartcam detection modules [\#1389](https://github.com/python-kasa/python-kasa/pull/1389) (@sdb9696)
|
|
26
62
|
- Add bare-bones matter modules to smart and smartcam devices [\#1371](https://github.com/python-kasa/python-kasa/pull/1371) (@sdb9696)
|
|
27
63
|
- Add bare bones homekit modules smart and smartcam devices [\#1370](https://github.com/python-kasa/python-kasa/pull/1370) (@sdb9696)
|
|
28
|
-
- Return raw discovery result in cli discover raw [\#1342](https://github.com/python-kasa/python-kasa/pull/1342) (@sdb9696)
|
|
29
64
|
- cli: print model, https, and lv for discover list [\#1339](https://github.com/python-kasa/python-kasa/pull/1339) (@rytilahti)
|
|
30
|
-
- Improve overheat reporting [\#1335](https://github.com/python-kasa/python-kasa/pull/1335) (@rytilahti)
|
|
31
|
-
- Provide alternative camera urls [\#1316](https://github.com/python-kasa/python-kasa/pull/1316) (@sdb9696)
|
|
32
65
|
- Add LinkieTransportV2 and basic IOT.IPCAMERA support [\#1270](https://github.com/python-kasa/python-kasa/pull/1270) (@Puxtril)
|
|
33
66
|
- Add ssltransport for robovacs [\#943](https://github.com/python-kasa/python-kasa/pull/943) (@rytilahti)
|
|
67
|
+
- Add rssi and signal\_level to smartcam [\#1392](https://github.com/python-kasa/python-kasa/pull/1392) (@sdb9696)
|
|
68
|
+
- Add smartcam detection modules [\#1389](https://github.com/python-kasa/python-kasa/pull/1389) (@sdb9696)
|
|
69
|
+
- Return raw discovery result in cli discover raw [\#1342](https://github.com/python-kasa/python-kasa/pull/1342) (@sdb9696)
|
|
70
|
+
- Improve overheat reporting [\#1335](https://github.com/python-kasa/python-kasa/pull/1335) (@rytilahti)
|
|
71
|
+
- Provide alternative camera urls [\#1316](https://github.com/python-kasa/python-kasa/pull/1316) (@sdb9696)
|
|
34
72
|
|
|
35
73
|
**Fixed bugs:**
|
|
36
74
|
|
|
37
75
|
- Tapo H200 Hub does not work with python-kasa [\#1149](https://github.com/python-kasa/python-kasa/issues/1149)
|
|
38
|
-
- Treat smartcam 500 errors after handshake as retryable [\#1395](https://github.com/python-kasa/python-kasa/pull/1395) (@sdb9696)
|
|
39
76
|
- Fix lens mask required component and state [\#1386](https://github.com/python-kasa/python-kasa/pull/1386) (@sdb9696)
|
|
40
77
|
- Add LensMask module to smartcam [\#1385](https://github.com/python-kasa/python-kasa/pull/1385) (@sdb9696)
|
|
78
|
+
- Treat smartcam 500 errors after handshake as retryable [\#1395](https://github.com/python-kasa/python-kasa/pull/1395) (@sdb9696)
|
|
41
79
|
- Do not error when accessing smart device\_type before update [\#1319](https://github.com/python-kasa/python-kasa/pull/1319) (@sdb9696)
|
|
42
80
|
- Fallback to other module data on get\_energy\_usage errors [\#1245](https://github.com/python-kasa/python-kasa/pull/1245) (@rytilahti)
|
|
43
81
|
|
|
@@ -47,41 +85,41 @@
|
|
|
47
85
|
- Add C225\(US\) 2.0 1.0.11 fixture [\#1398](https://github.com/python-kasa/python-kasa/pull/1398) (@sdb9696)
|
|
48
86
|
- Add P306\(US\) 1.0 1.1.2 fixture [\#1396](https://github.com/python-kasa/python-kasa/pull/1396) (@nakanaela)
|
|
49
87
|
- Add TC70 3.0 1.3.11 fixture [\#1390](https://github.com/python-kasa/python-kasa/pull/1390) (@sdb9696)
|
|
50
|
-
- Add C325WB\(EU\) 1.0 1.1.17 Fixture [\#1379](https://github.com/python-kasa/python-kasa/pull/1379) (@sdb9696)
|
|
51
|
-
- Add C100 4.0 1.3.14 Fixture [\#1378](https://github.com/python-kasa/python-kasa/pull/1378) (@sdb9696)
|
|
52
88
|
- Add KS200 \(US\) IOT Fixture and P115 \(US\) Smart Fixture [\#1355](https://github.com/python-kasa/python-kasa/pull/1355) (@ZeliardM)
|
|
53
89
|
- Add C520WS camera fixture [\#1352](https://github.com/python-kasa/python-kasa/pull/1352) (@Happy-Cadaver)
|
|
90
|
+
- Add C325WB\(EU\) 1.0 1.1.17 Fixture [\#1379](https://github.com/python-kasa/python-kasa/pull/1379) (@sdb9696)
|
|
91
|
+
- Add C100 4.0 1.3.14 Fixture [\#1378](https://github.com/python-kasa/python-kasa/pull/1378) (@sdb9696)
|
|
54
92
|
|
|
55
93
|
**Documentation updates:**
|
|
56
94
|
|
|
57
95
|
- Update docs for Tapo Lab Third-Party compatibility [\#1380](https://github.com/python-kasa/python-kasa/pull/1380) (@sdb9696)
|
|
58
96
|
- Add homebridge-kasa-python link to README [\#1367](https://github.com/python-kasa/python-kasa/pull/1367) (@rytilahti)
|
|
59
|
-
- Update docs for new FeatureAttribute behaviour [\#1365](https://github.com/python-kasa/python-kasa/pull/1365) (@sdb9696)
|
|
60
97
|
- Add link to related homeassistant-tapo-control [\#1333](https://github.com/python-kasa/python-kasa/pull/1333) (@rytilahti)
|
|
98
|
+
- Update docs for new FeatureAttribute behaviour [\#1365](https://github.com/python-kasa/python-kasa/pull/1365) (@sdb9696)
|
|
61
99
|
|
|
62
100
|
**Project maintenance:**
|
|
63
101
|
|
|
64
102
|
- Add P135 1.0 1.2.0 fixture [\#1397](https://github.com/python-kasa/python-kasa/pull/1397) (@sdb9696)
|
|
65
|
-
- Handle smartcam device blocked response [\#1393](https://github.com/python-kasa/python-kasa/pull/1393) (@sdb9696)
|
|
66
|
-
- Handle KeyboardInterrupts in the cli better [\#1391](https://github.com/python-kasa/python-kasa/pull/1391) (@sdb9696)
|
|
67
103
|
- Update C520WS fixture with new methods [\#1384](https://github.com/python-kasa/python-kasa/pull/1384) (@sdb9696)
|
|
68
104
|
- Miscellaneous minor fixes to dump\_devinfo [\#1382](https://github.com/python-kasa/python-kasa/pull/1382) (@sdb9696)
|
|
69
105
|
- Add timeout parameter to dump\_devinfo [\#1381](https://github.com/python-kasa/python-kasa/pull/1381) (@sdb9696)
|
|
70
|
-
- Simplify get\_protocol to prevent clashes with smartcam and robovac [\#1377](https://github.com/python-kasa/python-kasa/pull/1377) (@sdb9696)
|
|
71
|
-
- Add smartcam modules to package inits [\#1376](https://github.com/python-kasa/python-kasa/pull/1376) (@sdb9696)
|
|
72
|
-
- Enable saving of fixture files without git clone [\#1375](https://github.com/python-kasa/python-kasa/pull/1375) (@sdb9696)
|
|
73
106
|
- Force single for some smartcam requests [\#1374](https://github.com/python-kasa/python-kasa/pull/1374) (@sdb9696)
|
|
74
|
-
- Add new methods to dump\_devinfo [\#1373](https://github.com/python-kasa/python-kasa/pull/1373) (@sdb9696)
|
|
75
|
-
- Update cli, light modules, and docs to use FeatureAttributes [\#1364](https://github.com/python-kasa/python-kasa/pull/1364) (@sdb9696)
|
|
76
107
|
- Pass raw components to SmartChildDevice init [\#1363](https://github.com/python-kasa/python-kasa/pull/1363) (@sdb9696)
|
|
77
108
|
- Fix line endings in device\_fixtures.py [\#1361](https://github.com/python-kasa/python-kasa/pull/1361) (@sdb9696)
|
|
78
|
-
- Update dump\_devinfo for raw discovery json and common redactors [\#1358](https://github.com/python-kasa/python-kasa/pull/1358) (@sdb9696)
|
|
79
109
|
- Tweak RELEASING.md instructions for patch releases [\#1347](https://github.com/python-kasa/python-kasa/pull/1347) (@sdb9696)
|
|
80
110
|
- Scrub more vacuum keys [\#1328](https://github.com/python-kasa/python-kasa/pull/1328) (@rytilahti)
|
|
81
111
|
- Remove unnecessary check for python \<3.10 [\#1326](https://github.com/python-kasa/python-kasa/pull/1326) (@rytilahti)
|
|
82
112
|
- Add vacuum component queries to dump\_devinfo [\#1320](https://github.com/python-kasa/python-kasa/pull/1320) (@rytilahti)
|
|
83
113
|
- Handle missing mgt\_encryption\_schm in discovery [\#1318](https://github.com/python-kasa/python-kasa/pull/1318) (@sdb9696)
|
|
84
114
|
- Follow main package structure for tests [\#1317](https://github.com/python-kasa/python-kasa/pull/1317) (@rytilahti)
|
|
115
|
+
- Handle smartcam device blocked response [\#1393](https://github.com/python-kasa/python-kasa/pull/1393) (@sdb9696)
|
|
116
|
+
- Handle KeyboardInterrupts in the cli better [\#1391](https://github.com/python-kasa/python-kasa/pull/1391) (@sdb9696)
|
|
117
|
+
- Simplify get\_protocol to prevent clashes with smartcam and robovac [\#1377](https://github.com/python-kasa/python-kasa/pull/1377) (@sdb9696)
|
|
118
|
+
- Add smartcam modules to package inits [\#1376](https://github.com/python-kasa/python-kasa/pull/1376) (@sdb9696)
|
|
119
|
+
- Enable saving of fixture files without git clone [\#1375](https://github.com/python-kasa/python-kasa/pull/1375) (@sdb9696)
|
|
120
|
+
- Add new methods to dump\_devinfo [\#1373](https://github.com/python-kasa/python-kasa/pull/1373) (@sdb9696)
|
|
121
|
+
- Update cli, light modules, and docs to use FeatureAttributes [\#1364](https://github.com/python-kasa/python-kasa/pull/1364) (@sdb9696)
|
|
122
|
+
- Update dump\_devinfo for raw discovery json and common redactors [\#1358](https://github.com/python-kasa/python-kasa/pull/1358) (@sdb9696)
|
|
85
123
|
|
|
86
124
|
## [0.8.1](https://github.com/python-kasa/python-kasa/tree/0.8.1) (2024-12-06)
|
|
87
125
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-kasa
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
Summary: Python API for TP-Link Kasa and Tapo devices
|
|
5
5
|
Project-URL: Homepage, https://github.com/python-kasa/python-kasa
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/python-kasa/python-kasa/issues
|
|
@@ -235,7 +235,7 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
235
235
|
|
|
236
236
|
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
237
237
|
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
238
|
-
- **Wall Switches**: S500D, S505, S505D
|
|
238
|
+
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
239
239
|
- **Bulbs**: L510B, L510E, L530E, L630
|
|
240
240
|
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
|
|
241
241
|
- **Cameras**: C100, C210, C225, C325WB, C520WS, TC65, TC70
|
|
@@ -198,7 +198,7 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
198
198
|
|
|
199
199
|
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
200
200
|
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
201
|
-
- **Wall Switches**: S500D, S505, S505D
|
|
201
|
+
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
202
202
|
- **Bulbs**: L510B, L510E, L530E, L630
|
|
203
203
|
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
|
|
204
204
|
- **Cameras**: C100, C210, C225, C325WB, C520WS, TC65, TC70
|
|
@@ -214,7 +214,7 @@ def _get_supported_devices(
|
|
|
214
214
|
smodel = stype.setdefault(model_info.long_name, [])
|
|
215
215
|
smodel.append(
|
|
216
216
|
SupportedVersion(
|
|
217
|
-
region=model_info.region,
|
|
217
|
+
region=model_info.region if model_info.region else "",
|
|
218
218
|
hw=model_info.hardware_version,
|
|
219
219
|
fw=model_info.firmware_version,
|
|
220
220
|
auth=model_info.requires_auth,
|
|
@@ -283,7 +283,7 @@ def _echo_discovery_info(discovery_info) -> None:
|
|
|
283
283
|
_conditional_echo("HW Ver", dr.hw_ver)
|
|
284
284
|
_conditional_echo("HW Ver", dr.hardware_version)
|
|
285
285
|
_conditional_echo("Supports IOT Cloud", dr.is_support_iot_cloud)
|
|
286
|
-
_conditional_echo("OBD Src", dr.
|
|
286
|
+
_conditional_echo("OBD Src", dr.obd_src)
|
|
287
287
|
_conditional_echo("Factory Default", dr.factory_default)
|
|
288
288
|
_conditional_echo("Encrypt Type", dr.encrypt_type)
|
|
289
289
|
if mgt_encrypt_schm := dr.mgt_encrypt_schm:
|
|
@@ -295,6 +295,8 @@ class Feature:
|
|
|
295
295
|
if self.precision_hint is not None and isinstance(value, float):
|
|
296
296
|
value = round(value, self.precision_hint)
|
|
297
297
|
|
|
298
|
+
if isinstance(value, Enum):
|
|
299
|
+
value = repr(value)
|
|
298
300
|
s = f"{self.name} ({self.id}): {value}"
|
|
299
301
|
if self.unit is not None:
|
|
300
302
|
s += f" {self.unit}"
|
|
@@ -98,12 +98,26 @@ class IotProtocol(BaseProtocol):
|
|
|
98
98
|
)
|
|
99
99
|
raise auex
|
|
100
100
|
except _RetryableError as ex:
|
|
101
|
+
if retry == 0:
|
|
102
|
+
_LOGGER.debug(
|
|
103
|
+
"Device %s got a retryable error, will retry %s times: %s",
|
|
104
|
+
self._host,
|
|
105
|
+
retry_count,
|
|
106
|
+
ex,
|
|
107
|
+
)
|
|
101
108
|
await self._transport.reset()
|
|
102
109
|
if retry >= retry_count:
|
|
103
110
|
_LOGGER.debug("Giving up on %s after %s retries", self._host, retry)
|
|
104
111
|
raise ex
|
|
105
112
|
continue
|
|
106
113
|
except TimeoutError as ex:
|
|
114
|
+
if retry == 0:
|
|
115
|
+
_LOGGER.debug(
|
|
116
|
+
"Device %s got a timeout error, will retry %s times: %s",
|
|
117
|
+
self._host,
|
|
118
|
+
retry_count,
|
|
119
|
+
ex,
|
|
120
|
+
)
|
|
107
121
|
await self._transport.reset()
|
|
108
122
|
if retry >= retry_count:
|
|
109
123
|
_LOGGER.debug("Giving up on %s after %s retries", self._host, retry)
|
|
@@ -5,7 +5,7 @@ from __future__ import annotations
|
|
|
5
5
|
import logging
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from pprint import pformat as pf
|
|
8
|
-
from typing import Any
|
|
8
|
+
from typing import Any, cast
|
|
9
9
|
|
|
10
10
|
from ..exceptions import (
|
|
11
11
|
AuthenticationError,
|
|
@@ -49,10 +49,13 @@ class SingleRequest:
|
|
|
49
49
|
class SmartCamProtocol(SmartProtocol):
|
|
50
50
|
"""Class for SmartCam Protocol."""
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
self,
|
|
54
|
-
) ->
|
|
55
|
-
|
|
52
|
+
def _get_list_request(
|
|
53
|
+
self, method: str, params: dict | None, start_index: int
|
|
54
|
+
) -> dict:
|
|
55
|
+
# All smartcam requests have params
|
|
56
|
+
params = cast(dict, params)
|
|
57
|
+
module_name = next(iter(params))
|
|
58
|
+
return {method: {module_name: {"start_index": start_index}}}
|
|
56
59
|
|
|
57
60
|
def _handle_response_error_code(
|
|
58
61
|
self, resp_dict: dict, method: str, raise_on_error: bool = True
|
|
@@ -147,7 +150,9 @@ class SmartCamProtocol(SmartProtocol):
|
|
|
147
150
|
if len(request) == 1 and method in {"get", "set", "do", "multipleRequest"}:
|
|
148
151
|
single_request = self._get_smart_camera_single_request(request)
|
|
149
152
|
else:
|
|
150
|
-
return await self._execute_multiple_query(
|
|
153
|
+
return await self._execute_multiple_query(
|
|
154
|
+
request, retry_count, iterate_list_pages
|
|
155
|
+
)
|
|
151
156
|
else:
|
|
152
157
|
single_request = self._make_smart_camera_single_request(request)
|
|
153
158
|
|
|
@@ -180,7 +180,9 @@ class SmartProtocol(BaseProtocol):
|
|
|
180
180
|
# make mypy happy, this should never be reached..
|
|
181
181
|
raise KasaException("Query reached somehow to unreachable")
|
|
182
182
|
|
|
183
|
-
async def _execute_multiple_query(
|
|
183
|
+
async def _execute_multiple_query(
|
|
184
|
+
self, requests: dict, retry_count: int, iterate_list_pages: bool
|
|
185
|
+
) -> dict:
|
|
184
186
|
debug_enabled = _LOGGER.isEnabledFor(logging.DEBUG)
|
|
185
187
|
multi_result: dict[str, Any] = {}
|
|
186
188
|
smart_method = "multipleRequest"
|
|
@@ -275,9 +277,11 @@ class SmartProtocol(BaseProtocol):
|
|
|
275
277
|
response, method, raise_on_error=raise_on_error
|
|
276
278
|
)
|
|
277
279
|
result = response.get("result", None)
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
280
|
+
request_params = rp if (rp := requests.get(method)) else None
|
|
281
|
+
if iterate_list_pages and result:
|
|
282
|
+
await self._handle_response_lists(
|
|
283
|
+
result, method, request_params, retry_count=retry_count
|
|
284
|
+
)
|
|
281
285
|
multi_result[method] = result
|
|
282
286
|
|
|
283
287
|
# Multi requests don't continue after errors so requery any missing.
|
|
@@ -303,7 +307,9 @@ class SmartProtocol(BaseProtocol):
|
|
|
303
307
|
smart_method = next(iter(request))
|
|
304
308
|
smart_params = request[smart_method]
|
|
305
309
|
else:
|
|
306
|
-
return await self._execute_multiple_query(
|
|
310
|
+
return await self._execute_multiple_query(
|
|
311
|
+
request, retry_count, iterate_list_pages
|
|
312
|
+
)
|
|
307
313
|
else:
|
|
308
314
|
smart_method = request
|
|
309
315
|
smart_params = None
|
|
@@ -330,12 +336,21 @@ class SmartProtocol(BaseProtocol):
|
|
|
330
336
|
result = response_data.get("result")
|
|
331
337
|
if iterate_list_pages and result:
|
|
332
338
|
await self._handle_response_lists(
|
|
333
|
-
result, smart_method, retry_count=retry_count
|
|
339
|
+
result, smart_method, smart_params, retry_count=retry_count
|
|
334
340
|
)
|
|
335
341
|
return {smart_method: result}
|
|
336
342
|
|
|
343
|
+
def _get_list_request(
|
|
344
|
+
self, method: str, params: dict | None, start_index: int
|
|
345
|
+
) -> dict:
|
|
346
|
+
return {method: {"start_index": start_index}}
|
|
347
|
+
|
|
337
348
|
async def _handle_response_lists(
|
|
338
|
-
self,
|
|
349
|
+
self,
|
|
350
|
+
response_result: dict[str, Any],
|
|
351
|
+
method: str,
|
|
352
|
+
params: dict | None,
|
|
353
|
+
retry_count: int,
|
|
339
354
|
) -> None:
|
|
340
355
|
if (
|
|
341
356
|
response_result is None
|
|
@@ -355,8 +370,9 @@ class SmartProtocol(BaseProtocol):
|
|
|
355
370
|
)
|
|
356
371
|
)
|
|
357
372
|
while (list_length := len(response_result[response_list_name])) < list_sum:
|
|
373
|
+
request = self._get_list_request(method, params, list_length)
|
|
358
374
|
response = await self._execute_query(
|
|
359
|
-
|
|
375
|
+
request,
|
|
360
376
|
retry_count=retry_count,
|
|
361
377
|
iterate_list_pages=False,
|
|
362
378
|
)
|
|
@@ -24,6 +24,7 @@ class SmartChildDevice(SmartDevice):
|
|
|
24
24
|
|
|
25
25
|
CHILD_DEVICE_TYPE_MAP = {
|
|
26
26
|
"plug.powerstrip.sub-plug": DeviceType.Plug,
|
|
27
|
+
"subg.plugswitch.switch": DeviceType.WallSwitch,
|
|
27
28
|
"subg.trigger.contact-sensor": DeviceType.Sensor,
|
|
28
29
|
"subg.trigger.temp-hmdt-sensor": DeviceType.Sensor,
|
|
29
30
|
"subg.trigger.water-leak-sensor": DeviceType.Sensor,
|
|
@@ -214,8 +214,8 @@ class KlapTransport(BaseTransport):
|
|
|
214
214
|
|
|
215
215
|
if default_credentials_seed_auth_hash == server_hash:
|
|
216
216
|
_LOGGER.debug(
|
|
217
|
-
"
|
|
218
|
-
"but an authentication with %s default credentials
|
|
217
|
+
"Device response did not match our expected hash on ip %s,"
|
|
218
|
+
"but an authentication with %s default credentials worked",
|
|
219
219
|
self._host,
|
|
220
220
|
key,
|
|
221
221
|
)
|
|
@@ -235,13 +235,16 @@ class KlapTransport(BaseTransport):
|
|
|
235
235
|
|
|
236
236
|
if blank_seed_auth_hash == server_hash:
|
|
237
237
|
_LOGGER.debug(
|
|
238
|
-
"
|
|
239
|
-
"but an authentication with blank credentials
|
|
238
|
+
"Device response did not match our expected hash on ip %s, "
|
|
239
|
+
"but an authentication with blank credentials worked",
|
|
240
240
|
self._host,
|
|
241
241
|
)
|
|
242
242
|
return local_seed, remote_seed, self._blank_auth_hash # type: ignore
|
|
243
243
|
|
|
244
|
-
msg =
|
|
244
|
+
msg = (
|
|
245
|
+
f"Device response did not match our challenge on ip {self._host}, "
|
|
246
|
+
f"check that your e-mail and password (both case-sensitive) are correct. "
|
|
247
|
+
)
|
|
245
248
|
_LOGGER.debug(msg)
|
|
246
249
|
raise AuthenticationError(msg)
|
|
247
250
|
|