python-kasa 0.10.0__tar.gz → 0.10.2__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.10.0 → python_kasa-0.10.2}/CHANGELOG.md +62 -16
- {python_kasa-0.10.0 → python_kasa-0.10.2}/PKG-INFO +3 -3
- {python_kasa-0.10.0 → python_kasa-0.10.2}/README.md +2 -2
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/dump_devinfo.py +0 -17
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/helpers/smartrequests.py +1 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/device.py +1 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/device.py +1 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/energy.py +1 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/lighteffect.py +2 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotdevice.py +4 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotdimmer.py +2 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/__init__.py +2 -0
- python_kasa-0.10.2/kasa/iot/modules/dimmer.py +270 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/lighteffect.py +2 -11
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/module.py +6 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/dustbin.py +10 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/lightstripeffect.py +3 -9
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/smartdevice.py +4 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/smartmodule.py +7 -4
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/alarm.py +13 -6
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/smartcamchild.py +4 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/smartcamdevice.py +4 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/pyproject.toml +1 -1
- python_kasa-0.10.2/tests/fixtures/smart/H100(AU)_1.0_1.5.23.json +513 -0
- python_kasa-0.10.2/tests/fixtures/smart/L530B(EU)_3.0_1.1.9.json +480 -0
- python_kasa-0.10.2/tests/fixtures/smart/L530E(TW)_2.0_1.1.1.json +616 -0
- python_kasa-0.10.2/tests/fixtures/smart/P110(AU)_1.0_1.3.1.json +460 -0
- python_kasa-0.10.0/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json → python_kasa-0.10.2/tests/fixtures/smart/child/T100(US)_1.0_1.12.0.json +48 -45
- python_kasa-0.10.2/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json +530 -0
- python_kasa-0.10.2/tests/fixtures/smartcam/C110(EU)_2.0_1.4.3.json +960 -0
- python_kasa-0.10.2/tests/iot/modules/test_dimmer.py +204 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/test_iotdevice.py +2 -2
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_dustbin.py +19 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_fan.py +1 -1
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/test_smartdevice.py +3 -3
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_common_modules.py +61 -4
- {python_kasa-0.10.0 → python_kasa-0.10.2}/.gitignore +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/LICENSE +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/README.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/bench/benchmark.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/bench/utils/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/bench/utils/data.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/bench/utils/original.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/create_module_fixtures.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/generate_supported.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/helpers/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/helpers/smartcamrequests.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/parse_pcap.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/parse_pcap_klap.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/perftest.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/devtools/update_fixtures.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/Makefile +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/make.bat +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/SUPPORTED.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/_static/copybutton.js +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/cli.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/codeinfo.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/conf.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/contribute.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/deprecated.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/featureattributes.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/connect.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/device.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/discover.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/energy.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/feature.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/light.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/module.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides/strip.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/guides.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/index.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/library.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/reference.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartbulb.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartdevice.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartdimmer.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartlightstrip.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartplug.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/smartstrip.rst +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/topics.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/source/tutorial.md +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/docs/tutorial.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cachedzoneinfo.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/__main__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/common.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/discover.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/feature.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/hub.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/lazygroup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/light.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/main.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/schedule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/time.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/usage.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/vacuum.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/cli/wifi.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/credentials.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/device_factory.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/device_type.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/deviceconfig.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/discover.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/emeterstatus.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/exceptions.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/feature.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/httpclient.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/alarm.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/childsetup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/fan.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/led.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/light.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/lightpreset.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/thermostat.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/interfaces/time.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/effects.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotbulb.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotcamera.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotlightstrip.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotmodule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotplug.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iotstrip.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/iottimezone.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/ambientlight.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/antitheft.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/cloud.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/countdown.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/emeter.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/led.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/light.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/lightpreset.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/motion.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/rulemodule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/schedule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/time.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/iot/modules/usage.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/json.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/modulemapping.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/modulemapping.pyi +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/protocols/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/protocols/iotprotocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/protocols/protocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/protocols/smartcamprotocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/protocols/smartprotocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/py.typed +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/effects.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/alarm.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/autooff.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/batterysensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/brightness.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/childdevice.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/childlock.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/childprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/childsetup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/clean.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/cleanrecords.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/cloud.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/color.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/colortemperature.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/consumables.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/contactsensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/devicemodule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/energy.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/fan.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/firmware.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/frostprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/homekit.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/humiditysensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/led.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/light.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/lighteffect.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/lightpreset.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/lighttransition.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/matter.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/mop.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/motionsensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/overheatprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/powerprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/reportmode.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/speaker.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/temperaturecontrol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/temperaturesensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/thermostat.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/time.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/triggerlogs.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/modules/waterleaksensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smart/smartchilddevice.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/babycrydetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/battery.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/camera.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/childdevice.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/childsetup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/device.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/homekit.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/led.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/lensmask.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/matter.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/motiondetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/pantilt.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/persondetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/petdetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/tamperdetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/modules/time.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/smartcam/smartcammodule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/aestransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/basetransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/klaptransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/linkietransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/sslaestransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/ssltransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/kasa/transports/xortransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/cli/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/cli/test_hub.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/cli/test_vacuum.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/conftest.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/device_fixtures.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/discovery_fixtures.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fakeprotocol_iot.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fakeprotocol_smart.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fakeprotocol_smartcam.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtureinfo.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/EP10(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/EP40(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/ES20M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/ES20M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS100(UK)_1.0_1.2.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS100(UK)_4.1_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS100(US)_1.0_1.2.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS100(US)_2.0_1.5.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS103(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS103(US)_2.1_1.1.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS103(US)_2.1_1.1.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS105(US)_1.0_1.5.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS107(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS110(EU)_1.0_1.2.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS110(EU)_4.0_1.0.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS110(US)_1.0_1.2.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS200(US)_2.0_1.5.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS200(US)_3.0_1.1.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS200(US)_5.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS200(US)_5.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS210(US)_1.0_1.5.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS210(US)_2.0_1.1.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS210(US)_3.0_1.0.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS220(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS220(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS300(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS300(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS300(US)_2.0_1.0.12.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/HS300(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL120(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL120(US)_1.0_1.8.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL125(US)_1.20_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL125(US)_2.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL125(US)_4.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL130(EU)_1.0_1.8.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL130(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL135(US)_1.0_1.0.15.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL135(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL420L5(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL430(UN)_2.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL430(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL430(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL430(US)_2.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL430(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL50(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL60(UN)_1.0_1.1.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KL60(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP100(US)_3.0_1.0.1.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP105(UK)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP105(UK)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP115(EU)_1.0_1.0.16.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP115(US)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP115(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP125(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP200(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP303(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP303(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP303(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP400(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP400(US)_2.0_1.0.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP400(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP400(US)_3.0_1.0.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP401(US)_1.0_1.0.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP405(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KP405(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS200(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS200M(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS200M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS200M(US)_1.0_1.0.12.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS200M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS220(US)_1.0_1.0.13.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS220M(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS230(US)_1.0_1.0.14.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/KS230(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iot/LB110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/iotcam/EC60(US)_4.0_2.3.22.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/serialization/deviceconfig_camera-aes-https.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/serialization/deviceconfig_plug-klap.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/serialization/deviceconfig_plug-xor.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/D100C(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/EP40M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/HS200(US)_5.26_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KH100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KH100(EU)_1.0_1.5.12.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KP125M(US)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/KS240(US)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L630(EU)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P100(US)_1.0.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P100(US)_1.0.0_1.3.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P100(US)_1.0.0_1.4.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P110M(AU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P110M(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P115(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P135(US)_1.0_1.2.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P210M(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/P306(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/RV20 Max Plus(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/RV30 Max(US)_1.0_1.2.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S200B(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S200B(US)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S200D(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S200D(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S210(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/S220(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T110(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T110(US)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smart/child/T315(US)_1.0_1.8.0.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C100_4.0_1.3.14.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C210_2.0_1.3.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C220(EU)_1.0_1.2.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C225(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C325WB(EU)_1.0_1.1.17.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C520WS(US)_1.0_1.2.8.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/C720(US)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/D130(US)_1.0_1.1.9.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/H200(US)_1.0_1.3.6.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/TC65_1.0_1.3.9.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/TC70_3.0_1.3.11.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/fixtures/smartcam/child/D230(EU)_1.20_1.1.19.json +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_ambientlight.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_cloud.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_emeter.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_motion.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_schedule.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/modules/test_usage.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/test_iotbulb.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/test_iotdimmer.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/test_iotlightstrip.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/iot/test_wallswitch.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/protocols/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/protocols/test_iotprotocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/protocols/test_smartprotocol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/features/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/features/test_brightness.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/features/test_colortemp.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_alarm.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_autooff.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_childlock.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_childprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_childsetup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_clean.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_cleanrecords.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_consumables.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_contact.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_energy.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_firmware.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_homekit.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_humidity.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_light_effect.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_light_strip_effect.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_lighttransition.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_matter.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_mop.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_motionsensor.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_powerprotection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_speaker.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_temperature.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_temperaturecontrol.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_triggerlogs.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smart/modules/test_waterleak.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_alarm.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_babycrydetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_battery.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_camera.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_childsetup.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_motiondetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_persondetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_petdetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/modules/test_tamperdetection.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/smartcam/test_smartcamdevice.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_bulb.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_childdevice.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_cli.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_device.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_device_factory.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_device_type.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_deviceconfig.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_devtools.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_discovery.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_feature.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_httpclient.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_plug.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_readme_examples.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/test_strip.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/__init__.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/test_aestransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/test_klaptransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/test_linkietransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/test_sslaestransport.py +0 -0
- {python_kasa-0.10.0 → python_kasa-0.10.2}/tests/transports/test_ssltransport.py +0 -0
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.1...0.10.2)
|
|
6
|
+
|
|
7
|
+
**Release summary:**
|
|
8
|
+
|
|
9
|
+
- Bugfix for [#1499](https://github.com/python-kasa/python-kasa/issues/1499).
|
|
10
|
+
- Support for L530B and C110 devices.
|
|
11
|
+
|
|
12
|
+
**Fixed bugs:**
|
|
13
|
+
|
|
14
|
+
- H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\#1499](https://github.com/python-kasa/python-kasa/issues/1499)
|
|
15
|
+
- Do not crash on missing build number in fw version [\#1500](https://github.com/python-kasa/python-kasa/pull/1500) (@rytilahti)
|
|
16
|
+
|
|
17
|
+
**Added support for devices:**
|
|
18
|
+
|
|
19
|
+
- Add C110\(EU\) 2.0 1.4.3 fixture [\#1503](https://github.com/python-kasa/python-kasa/pull/1503) (@sdb9696)
|
|
20
|
+
- Add L530B\(EU\) 3.0 1.1.9 fixture [\#1502](https://github.com/python-kasa/python-kasa/pull/1502) (@sdb9696)
|
|
21
|
+
|
|
22
|
+
**Project maintenance:**
|
|
23
|
+
|
|
24
|
+
- Add fixtures for new versions of H100, P110, and T100 devices [\#1501](https://github.com/python-kasa/python-kasa/pull/1501) (@LXGaming)
|
|
25
|
+
- Add L530E\(TW\) 2.0 1.1.1 fixture [\#1497](https://github.com/python-kasa/python-kasa/pull/1497) (@bluehomewu)
|
|
26
|
+
|
|
27
|
+
## [0.10.1](https://github.com/python-kasa/python-kasa/tree/0.10.1) (2025-02-02)
|
|
28
|
+
|
|
29
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.0...0.10.1)
|
|
30
|
+
|
|
31
|
+
**Release summary:**
|
|
32
|
+
|
|
33
|
+
Small patch release for bugfixes
|
|
34
|
+
|
|
35
|
+
**Implemented enhancements:**
|
|
36
|
+
|
|
37
|
+
- dustbin\_mode: add 'off' mode for cleaner downstream impl [\#1488](https://github.com/python-kasa/python-kasa/pull/1488) (@rytilahti)
|
|
38
|
+
- Add Dimmer Configuration Support [\#1484](https://github.com/python-kasa/python-kasa/pull/1484) (@ryenitcher)
|
|
39
|
+
|
|
40
|
+
**Fixed bugs:**
|
|
41
|
+
|
|
42
|
+
- Do not return empty string for custom light effect name [\#1491](https://github.com/python-kasa/python-kasa/pull/1491) (@sdb9696)
|
|
43
|
+
- Add FeatureAttributes to smartcam Alarm [\#1489](https://github.com/python-kasa/python-kasa/pull/1489) (@sdb9696)
|
|
44
|
+
|
|
45
|
+
**Project maintenance:**
|
|
46
|
+
|
|
47
|
+
- Add module.device to the public api [\#1478](https://github.com/python-kasa/python-kasa/pull/1478) (@sdb9696)
|
|
48
|
+
|
|
3
49
|
## [0.10.0](https://github.com/python-kasa/python-kasa/tree/0.10.0) (2025-01-26)
|
|
4
50
|
|
|
5
51
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.9.1...0.10.0)
|
|
@@ -31,11 +77,7 @@ Many thanks to testers and new contributors - @steveredden, @DawidPietrykowski,
|
|
|
31
77
|
|
|
32
78
|
- Expose more battery sensors for D230 [\#1451](https://github.com/python-kasa/python-kasa/issues/1451)
|
|
33
79
|
- dumping HTTP POST Body for Tapo Vacuum \(RV30 Plus\) [\#937](https://github.com/python-kasa/python-kasa/issues/937)
|
|
34
|
-
- Add common alarm interface [\#1479](https://github.com/python-kasa/python-kasa/pull/1479) (@sdb9696)
|
|
35
|
-
- Add common childsetup interface [\#1470](https://github.com/python-kasa/python-kasa/pull/1470) (@sdb9696)
|
|
36
|
-
- Add childsetup module to smartcam hubs [\#1469](https://github.com/python-kasa/python-kasa/pull/1469) (@sdb9696)
|
|
37
80
|
- Add smartcam pet detection toggle module [\#1465](https://github.com/python-kasa/python-kasa/pull/1465) (@DawidPietrykowski)
|
|
38
|
-
- Only log one warning per unknown clean error code and status [\#1462](https://github.com/python-kasa/python-kasa/pull/1462) (@rytilahti)
|
|
39
81
|
- Add childlock module for vacuums [\#1461](https://github.com/python-kasa/python-kasa/pull/1461) (@rytilahti)
|
|
40
82
|
- Add ultra mode \(fanspeed = 5\) for vacuums [\#1459](https://github.com/python-kasa/python-kasa/pull/1459) (@rytilahti)
|
|
41
83
|
- Add setting to change carpet clean mode [\#1458](https://github.com/python-kasa/python-kasa/pull/1458) (@rytilahti)
|
|
@@ -46,49 +88,53 @@ Many thanks to testers and new contributors - @steveredden, @DawidPietrykowski,
|
|
|
46
88
|
- Add battery module to smartcam devices [\#1452](https://github.com/python-kasa/python-kasa/pull/1452) (@sdb9696)
|
|
47
89
|
- Allow update of camera modules after setting values [\#1450](https://github.com/python-kasa/python-kasa/pull/1450) (@sdb9696)
|
|
48
90
|
- Update hub children on first update and delay subsequent updates [\#1438](https://github.com/python-kasa/python-kasa/pull/1438) (@sdb9696)
|
|
49
|
-
- Add support for doorbells and chimes [\#1435](https://github.com/python-kasa/python-kasa/pull/1435) (@steveredden)
|
|
50
91
|
- Implement vacuum dustbin module \(dust\_bucket\) [\#1423](https://github.com/python-kasa/python-kasa/pull/1423) (@rytilahti)
|
|
51
|
-
- Allow https for klaptransport [\#1415](https://github.com/python-kasa/python-kasa/pull/1415) (@rytilahti)
|
|
52
92
|
- Add smartcam child device support for smartcam hubs [\#1413](https://github.com/python-kasa/python-kasa/pull/1413) (@sdb9696)
|
|
53
|
-
- Add powerprotection module [\#1337](https://github.com/python-kasa/python-kasa/pull/1337) (@rytilahti)
|
|
54
93
|
- Add vacuum speaker controls [\#1332](https://github.com/python-kasa/python-kasa/pull/1332) (@rytilahti)
|
|
55
94
|
- Add consumables module for vacuums [\#1327](https://github.com/python-kasa/python-kasa/pull/1327) (@rytilahti)
|
|
56
95
|
- Add ADC Value to PIR Enabled Switches [\#1263](https://github.com/python-kasa/python-kasa/pull/1263) (@ryenitcher)
|
|
57
96
|
- Add support for cleaning records [\#945](https://github.com/python-kasa/python-kasa/pull/945) (@rytilahti)
|
|
58
97
|
- Initial support for vacuums \(clean module\) [\#944](https://github.com/python-kasa/python-kasa/pull/944) (@rytilahti)
|
|
59
98
|
- Add support for pairing devices with hubs [\#859](https://github.com/python-kasa/python-kasa/pull/859) (@rytilahti)
|
|
99
|
+
- Add common alarm interface [\#1479](https://github.com/python-kasa/python-kasa/pull/1479) (@sdb9696)
|
|
100
|
+
- Add common childsetup interface [\#1470](https://github.com/python-kasa/python-kasa/pull/1470) (@sdb9696)
|
|
101
|
+
- Add childsetup module to smartcam hubs [\#1469](https://github.com/python-kasa/python-kasa/pull/1469) (@sdb9696)
|
|
102
|
+
- Only log one warning per unknown clean error code and status [\#1462](https://github.com/python-kasa/python-kasa/pull/1462) (@rytilahti)
|
|
103
|
+
- Add support for doorbells and chimes [\#1435](https://github.com/python-kasa/python-kasa/pull/1435) (@steveredden)
|
|
104
|
+
- Allow https for klaptransport [\#1415](https://github.com/python-kasa/python-kasa/pull/1415) (@rytilahti)
|
|
105
|
+
- Add powerprotection module [\#1337](https://github.com/python-kasa/python-kasa/pull/1337) (@rytilahti)
|
|
60
106
|
|
|
61
107
|
**Fixed bugs:**
|
|
62
108
|
|
|
63
109
|
- TP-Link HS300 Wi-Fi Power-Strip - "Parent On/Off" not functioning. [\#637](https://github.com/python-kasa/python-kasa/issues/637)
|
|
64
|
-
- Convert carpet\_clean\_mode to carpet\_boost switch [\#1486](https://github.com/python-kasa/python-kasa/pull/1486) (@rytilahti)
|
|
65
|
-
- Change category for empty dustbin feature from Primary to Config [\#1485](https://github.com/python-kasa/python-kasa/pull/1485) (@rytilahti)
|
|
66
110
|
- Report 0 for instead of None for zero current and voltage [\#1483](https://github.com/python-kasa/python-kasa/pull/1483) (@ryenitcher)
|
|
67
|
-
- Disable iot camera creation until more complete [\#1480](https://github.com/python-kasa/python-kasa/pull/1480) (@sdb9696)
|
|
68
111
|
- ssltransport: use debug logger for sending requests [\#1443](https://github.com/python-kasa/python-kasa/pull/1443) (@rytilahti)
|
|
69
112
|
- Fix discover cli command with host [\#1437](https://github.com/python-kasa/python-kasa/pull/1437) (@sdb9696)
|
|
70
113
|
- Fallback to is\_low for batterysensor's battery\_low [\#1420](https://github.com/python-kasa/python-kasa/pull/1420) (@rytilahti)
|
|
114
|
+
- Convert carpet\_clean\_mode to carpet\_boost switch [\#1486](https://github.com/python-kasa/python-kasa/pull/1486) (@rytilahti)
|
|
115
|
+
- Change category for empty dustbin feature from Primary to Config [\#1485](https://github.com/python-kasa/python-kasa/pull/1485) (@rytilahti)
|
|
116
|
+
- Disable iot camera creation until more complete [\#1480](https://github.com/python-kasa/python-kasa/pull/1480) (@sdb9696)
|
|
117
|
+
- Add error code 7 for clean module [\#1474](https://github.com/python-kasa/python-kasa/pull/1474) (@rytilahti)
|
|
71
118
|
- Fix iot strip turn on and off from parent [\#639](https://github.com/python-kasa/python-kasa/pull/639) (@Obbay2)
|
|
72
119
|
|
|
73
120
|
**Added support for devices:**
|
|
74
121
|
|
|
75
|
-
- Add D130\(US\) 1.0 1.1.9 fixture [\#1476](https://github.com/python-kasa/python-kasa/pull/1476) (@sdb9696)
|
|
76
|
-
- Add D100C\(US\) 1.0 1.1.3 fixture [\#1475](https://github.com/python-kasa/python-kasa/pull/1475) (@sdb9696)
|
|
77
122
|
- Add C220\(EU\) 1.0 1.2.2 camera fixture [\#1466](https://github.com/python-kasa/python-kasa/pull/1466) (@DawidPietrykowski)
|
|
78
123
|
- Add D230\(EU\) 1.20 1.1.19 fixture [\#1448](https://github.com/python-kasa/python-kasa/pull/1448) (@sdb9696)
|
|
79
124
|
- Add fixture for C720 camera [\#1433](https://github.com/python-kasa/python-kasa/pull/1433) (@steveredden)
|
|
125
|
+
- Add D130\(US\) 1.0 1.1.9 fixture [\#1476](https://github.com/python-kasa/python-kasa/pull/1476) (@sdb9696)
|
|
126
|
+
- Add D100C\(US\) 1.0 1.1.3 fixture [\#1475](https://github.com/python-kasa/python-kasa/pull/1475) (@sdb9696)
|
|
80
127
|
|
|
81
128
|
**Project maintenance:**
|
|
82
129
|
|
|
83
|
-
- Update ruff to 0.9 [\#1482](https://github.com/python-kasa/python-kasa/pull/1482) (@sdb9696)
|
|
84
|
-
- Cancel in progress CI workflows after new pushes [\#1481](https://github.com/python-kasa/python-kasa/pull/1481) (@sdb9696)
|
|
85
|
-
- Update test framework to support smartcam device discovery. [\#1477](https://github.com/python-kasa/python-kasa/pull/1477) (@sdb9696)
|
|
86
|
-
- Add error code 7 for clean module [\#1474](https://github.com/python-kasa/python-kasa/pull/1474) (@rytilahti)
|
|
87
130
|
- Enable CI workflow on PRs to feat/ fix/ and janitor/ [\#1471](https://github.com/python-kasa/python-kasa/pull/1471) (@sdb9696)
|
|
88
131
|
- Add commit-hook to prettify JSON files [\#1455](https://github.com/python-kasa/python-kasa/pull/1455) (@rytilahti)
|
|
89
132
|
- Add required sphinx.configuration [\#1446](https://github.com/python-kasa/python-kasa/pull/1446) (@rytilahti)
|
|
90
133
|
- Add more redactors for smartcams [\#1439](https://github.com/python-kasa/python-kasa/pull/1439) (@sdb9696)
|
|
91
134
|
- Add KS230\(US\) 2.0 1.0.11 IOT Fixture [\#1430](https://github.com/python-kasa/python-kasa/pull/1430) (@ZeliardM)
|
|
135
|
+
- Update ruff to 0.9 [\#1482](https://github.com/python-kasa/python-kasa/pull/1482) (@sdb9696)
|
|
136
|
+
- Cancel in progress CI workflows after new pushes [\#1481](https://github.com/python-kasa/python-kasa/pull/1481) (@sdb9696)
|
|
137
|
+
- Update test framework to support smartcam device discovery. [\#1477](https://github.com/python-kasa/python-kasa/pull/1477) (@sdb9696)
|
|
92
138
|
- Add tests for dump\_devinfo parent/child smartcam fixture generation [\#1428](https://github.com/python-kasa/python-kasa/pull/1428) (@sdb9696)
|
|
93
139
|
- Raise errors on single smartcam child requests [\#1427](https://github.com/python-kasa/python-kasa/pull/1427) (@sdb9696)
|
|
94
140
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-kasa
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.2
|
|
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
|
|
@@ -236,9 +236,9 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
236
236
|
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
237
237
|
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
238
238
|
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
239
|
-
- **Bulbs**: L510B, L510E, L530E, L630
|
|
239
|
+
- **Bulbs**: L510B, L510E, L530B, L530E, L630
|
|
240
240
|
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
|
|
241
|
-
- **Cameras**: C100, C210, C220, C225, C325WB, C520WS, C720, TC65, TC70
|
|
241
|
+
- **Cameras**: C100, C110, C210, C220, C225, C325WB, C520WS, C720, TC65, TC70
|
|
242
242
|
- **Doorbells and chimes**: D100C, D130, D230
|
|
243
243
|
- **Vacuums**: RV20 Max Plus, RV30 Max
|
|
244
244
|
- **Hubs**: H100, H200
|
|
@@ -199,9 +199,9 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
199
199
|
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
200
200
|
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
201
201
|
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
202
|
-
- **Bulbs**: L510B, L510E, L530E, L630
|
|
202
|
+
- **Bulbs**: L510B, L510E, L530B, L530E, L630
|
|
203
203
|
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
|
|
204
|
-
- **Cameras**: C100, C210, C220, C225, C325WB, C520WS, C720, TC65, TC70
|
|
204
|
+
- **Cameras**: C100, C110, C210, C220, C225, C325WB, C520WS, C720, TC65, TC70
|
|
205
205
|
- **Doorbells and chimes**: D100C, D130, D230
|
|
206
206
|
- **Vacuums**: RV20 Max Plus, RV30 Max
|
|
207
207
|
- **Hubs**: H100, H200
|
|
@@ -725,15 +725,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
725
725
|
successes = []
|
|
726
726
|
child_device_components = {}
|
|
727
727
|
|
|
728
|
-
extra_test_calls = [
|
|
729
|
-
SmartCall(
|
|
730
|
-
module="temp_humidity_records",
|
|
731
|
-
request=SmartRequest.get_raw_request("get_temp_humidity_records").to_dict(),
|
|
732
|
-
should_succeed=False,
|
|
733
|
-
child_device_id="",
|
|
734
|
-
),
|
|
735
|
-
]
|
|
736
|
-
|
|
737
728
|
click.echo("Testing component_nego call ..", nl=False)
|
|
738
729
|
responses = await _make_requests_or_exit(
|
|
739
730
|
protocol,
|
|
@@ -812,8 +803,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
812
803
|
click.echo(f"Skipping {component_id}..", nl=False)
|
|
813
804
|
click.echo(click.style("UNSUPPORTED", fg="yellow"))
|
|
814
805
|
|
|
815
|
-
test_calls.extend(extra_test_calls)
|
|
816
|
-
|
|
817
806
|
# Child component calls
|
|
818
807
|
for child_device_id, child_components in child_device_components.items():
|
|
819
808
|
test_calls.append(
|
|
@@ -839,12 +828,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
839
828
|
else:
|
|
840
829
|
click.echo(f"Skipping {component_id}..", nl=False)
|
|
841
830
|
click.echo(click.style("UNSUPPORTED", fg="yellow"))
|
|
842
|
-
# Add the extra calls for each child
|
|
843
|
-
for extra_call in extra_test_calls:
|
|
844
|
-
extra_child_call = dataclasses.replace(
|
|
845
|
-
extra_call, child_device_id=child_device_id
|
|
846
|
-
)
|
|
847
|
-
test_calls.append(extra_child_call)
|
|
848
831
|
|
|
849
832
|
return test_calls, successes
|
|
850
833
|
|
|
@@ -425,6 +425,7 @@ COMPONENT_REQUESTS = {
|
|
|
425
425
|
"get_trigger_logs", SmartRequest.GetTriggerLogsParams()
|
|
426
426
|
)
|
|
427
427
|
],
|
|
428
|
+
"temp_humidity_record": [SmartRequest.get_raw_request("get_temp_humidity_records")],
|
|
428
429
|
"double_click": [SmartRequest.get_raw_request("get_double_click_info")],
|
|
429
430
|
"child_device": [
|
|
430
431
|
SmartRequest.get_raw_request("get_child_device_list"),
|
|
@@ -48,7 +48,7 @@ async def state(ctx, dev: Device):
|
|
|
48
48
|
)
|
|
49
49
|
echo(
|
|
50
50
|
f"Firmware: {dev.device_info.firmware_version}"
|
|
51
|
-
f"
|
|
51
|
+
f"{' ' + build if (build := dev.device_info.firmware_build) else ''}"
|
|
52
52
|
)
|
|
53
53
|
echo(f"MAC (rssi): {dev.mac} ({dev.rssi})")
|
|
54
54
|
if verbose:
|
|
@@ -28,7 +28,7 @@ class Energy(Module, ABC):
|
|
|
28
28
|
|
|
29
29
|
_supported: ModuleFeature = ModuleFeature(0)
|
|
30
30
|
|
|
31
|
-
def supports(self, module_feature: ModuleFeature) -> bool:
|
|
31
|
+
def supports(self, module_feature: Energy.ModuleFeature) -> bool:
|
|
32
32
|
"""Return True if module supports the feature."""
|
|
33
33
|
return module_feature in self._supported
|
|
34
34
|
|
|
@@ -51,6 +51,7 @@ class LightEffect(Module, ABC):
|
|
|
51
51
|
"""Interface to represent a light effect module."""
|
|
52
52
|
|
|
53
53
|
LIGHT_EFFECTS_OFF = "Off"
|
|
54
|
+
LIGHT_EFFECTS_UNNAMED_CUSTOM = "Custom"
|
|
54
55
|
|
|
55
56
|
def _initialize_features(self) -> None:
|
|
56
57
|
"""Initialize features."""
|
|
@@ -77,7 +78,7 @@ class LightEffect(Module, ABC):
|
|
|
77
78
|
@property
|
|
78
79
|
@abstractmethod
|
|
79
80
|
def effect(self) -> str:
|
|
80
|
-
"""Return effect
|
|
81
|
+
"""Return effect name."""
|
|
81
82
|
|
|
82
83
|
@property
|
|
83
84
|
@abstractmethod
|
|
@@ -760,7 +760,10 @@ class IotDevice(Device):
|
|
|
760
760
|
device_family = sys_info.get("type", sys_info.get("mic_type"))
|
|
761
761
|
device_type = IotDevice._get_device_type_from_sys_info(info)
|
|
762
762
|
fw_version_full = sys_info["sw_ver"]
|
|
763
|
-
|
|
763
|
+
if " " in fw_version_full:
|
|
764
|
+
firmware_version, firmware_build = fw_version_full.split(" ", maxsplit=1)
|
|
765
|
+
else:
|
|
766
|
+
firmware_version, firmware_build = fw_version_full, None
|
|
764
767
|
auth = bool(discovery_info and ("mgt_encrypt_schm" in discovery_info))
|
|
765
768
|
|
|
766
769
|
return DeviceInfo(
|
|
@@ -11,7 +11,7 @@ from ..module import Module
|
|
|
11
11
|
from ..protocols import BaseProtocol
|
|
12
12
|
from .iotdevice import KasaException, requires_update
|
|
13
13
|
from .iotplug import IotPlug
|
|
14
|
-
from .modules import AmbientLight, Light, Motion
|
|
14
|
+
from .modules import AmbientLight, Dimmer, Light, Motion
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class ButtonAction(Enum):
|
|
@@ -87,6 +87,7 @@ class IotDimmer(IotPlug):
|
|
|
87
87
|
# TODO: need to be figured out what's the best approach to detect support
|
|
88
88
|
self.add_module(Module.IotMotion, Motion(self, "smartlife.iot.PIR"))
|
|
89
89
|
self.add_module(Module.IotAmbientLight, AmbientLight(self, "smartlife.iot.LAS"))
|
|
90
|
+
self.add_module(Module.IotDimmer, Dimmer(self, "smartlife.iot.dimmer"))
|
|
90
91
|
self.add_module(Module.Light, Light(self, "light"))
|
|
91
92
|
|
|
92
93
|
@property # type: ignore
|
|
@@ -4,6 +4,7 @@ from .ambientlight import AmbientLight
|
|
|
4
4
|
from .antitheft import Antitheft
|
|
5
5
|
from .cloud import Cloud
|
|
6
6
|
from .countdown import Countdown
|
|
7
|
+
from .dimmer import Dimmer
|
|
7
8
|
from .emeter import Emeter
|
|
8
9
|
from .led import Led
|
|
9
10
|
from .light import Light
|
|
@@ -20,6 +21,7 @@ __all__ = [
|
|
|
20
21
|
"Antitheft",
|
|
21
22
|
"Cloud",
|
|
22
23
|
"Countdown",
|
|
24
|
+
"Dimmer",
|
|
23
25
|
"Emeter",
|
|
24
26
|
"Led",
|
|
25
27
|
"Light",
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
"""Implementation of the dimmer config module found in dimmers."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import logging
|
|
6
|
+
from datetime import timedelta
|
|
7
|
+
from typing import Any, Final, cast
|
|
8
|
+
|
|
9
|
+
from ...exceptions import KasaException
|
|
10
|
+
from ...feature import Feature
|
|
11
|
+
from ..iotmodule import IotModule, merge
|
|
12
|
+
|
|
13
|
+
_LOGGER = logging.getLogger(__name__)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def _td_to_ms(td: timedelta) -> int:
|
|
17
|
+
"""
|
|
18
|
+
Convert timedelta to integer milliseconds.
|
|
19
|
+
|
|
20
|
+
Uses default float to integer rounding.
|
|
21
|
+
"""
|
|
22
|
+
return int(td / timedelta(milliseconds=1))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class Dimmer(IotModule):
|
|
26
|
+
"""Implements the dimmer config module."""
|
|
27
|
+
|
|
28
|
+
THRESHOLD_ABS_MIN: Final[int] = 0
|
|
29
|
+
# Strange value, but verified against hardware (KS220).
|
|
30
|
+
THRESHOLD_ABS_MAX: Final[int] = 51
|
|
31
|
+
FADE_TIME_ABS_MIN: Final[timedelta] = timedelta(seconds=0)
|
|
32
|
+
# Arbitrary, but set low intending GENTLE FADE for longer fades.
|
|
33
|
+
FADE_TIME_ABS_MAX: Final[timedelta] = timedelta(seconds=10)
|
|
34
|
+
GENTLE_TIME_ABS_MIN: Final[timedelta] = timedelta(seconds=0)
|
|
35
|
+
# Arbitrary, but reasonable default.
|
|
36
|
+
GENTLE_TIME_ABS_MAX: Final[timedelta] = timedelta(seconds=120)
|
|
37
|
+
# Verified against KS220.
|
|
38
|
+
RAMP_RATE_ABS_MIN: Final[int] = 10
|
|
39
|
+
# Verified against KS220.
|
|
40
|
+
RAMP_RATE_ABS_MAX: Final[int] = 50
|
|
41
|
+
|
|
42
|
+
def _initialize_features(self) -> None:
|
|
43
|
+
"""Initialize features after the initial update."""
|
|
44
|
+
self._add_feature(
|
|
45
|
+
Feature(
|
|
46
|
+
device=self._device,
|
|
47
|
+
container=self,
|
|
48
|
+
id="dimmer_threshold_min",
|
|
49
|
+
name="Minimum dimming level",
|
|
50
|
+
icon="mdi:lightbulb-on-20",
|
|
51
|
+
attribute_getter="threshold_min",
|
|
52
|
+
attribute_setter="set_threshold_min",
|
|
53
|
+
range_getter=lambda: (self.THRESHOLD_ABS_MIN, self.THRESHOLD_ABS_MAX),
|
|
54
|
+
type=Feature.Type.Number,
|
|
55
|
+
category=Feature.Category.Config,
|
|
56
|
+
)
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
self._add_feature(
|
|
60
|
+
Feature(
|
|
61
|
+
device=self._device,
|
|
62
|
+
container=self,
|
|
63
|
+
id="dimmer_fade_off_time",
|
|
64
|
+
name="Dimmer fade off time",
|
|
65
|
+
icon="mdi:clock-in",
|
|
66
|
+
attribute_getter="fade_off_time",
|
|
67
|
+
attribute_setter="set_fade_off_time",
|
|
68
|
+
range_getter=lambda: (
|
|
69
|
+
_td_to_ms(self.FADE_TIME_ABS_MIN),
|
|
70
|
+
_td_to_ms(self.FADE_TIME_ABS_MAX),
|
|
71
|
+
),
|
|
72
|
+
type=Feature.Type.Number,
|
|
73
|
+
category=Feature.Category.Config,
|
|
74
|
+
)
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
self._add_feature(
|
|
78
|
+
Feature(
|
|
79
|
+
device=self._device,
|
|
80
|
+
container=self,
|
|
81
|
+
id="dimmer_fade_on_time",
|
|
82
|
+
name="Dimmer fade on time",
|
|
83
|
+
icon="mdi:clock-out",
|
|
84
|
+
attribute_getter="fade_on_time",
|
|
85
|
+
attribute_setter="set_fade_on_time",
|
|
86
|
+
range_getter=lambda: (
|
|
87
|
+
_td_to_ms(self.FADE_TIME_ABS_MIN),
|
|
88
|
+
_td_to_ms(self.FADE_TIME_ABS_MAX),
|
|
89
|
+
),
|
|
90
|
+
type=Feature.Type.Number,
|
|
91
|
+
category=Feature.Category.Config,
|
|
92
|
+
)
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
self._add_feature(
|
|
96
|
+
Feature(
|
|
97
|
+
device=self._device,
|
|
98
|
+
container=self,
|
|
99
|
+
id="dimmer_gentle_off_time",
|
|
100
|
+
name="Dimmer gentle off time",
|
|
101
|
+
icon="mdi:clock-in",
|
|
102
|
+
attribute_getter="gentle_off_time",
|
|
103
|
+
attribute_setter="set_gentle_off_time",
|
|
104
|
+
range_getter=lambda: (
|
|
105
|
+
_td_to_ms(self.GENTLE_TIME_ABS_MIN),
|
|
106
|
+
_td_to_ms(self.GENTLE_TIME_ABS_MAX),
|
|
107
|
+
),
|
|
108
|
+
type=Feature.Type.Number,
|
|
109
|
+
category=Feature.Category.Config,
|
|
110
|
+
)
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
self._add_feature(
|
|
114
|
+
Feature(
|
|
115
|
+
device=self._device,
|
|
116
|
+
container=self,
|
|
117
|
+
id="dimmer_gentle_on_time",
|
|
118
|
+
name="Dimmer gentle on time",
|
|
119
|
+
icon="mdi:clock-out",
|
|
120
|
+
attribute_getter="gentle_on_time",
|
|
121
|
+
attribute_setter="set_gentle_on_time",
|
|
122
|
+
range_getter=lambda: (
|
|
123
|
+
_td_to_ms(self.GENTLE_TIME_ABS_MIN),
|
|
124
|
+
_td_to_ms(self.GENTLE_TIME_ABS_MAX),
|
|
125
|
+
),
|
|
126
|
+
type=Feature.Type.Number,
|
|
127
|
+
category=Feature.Category.Config,
|
|
128
|
+
)
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
self._add_feature(
|
|
132
|
+
Feature(
|
|
133
|
+
device=self._device,
|
|
134
|
+
container=self,
|
|
135
|
+
id="dimmer_ramp_rate",
|
|
136
|
+
name="Dimmer ramp rate",
|
|
137
|
+
icon="mdi:clock-fast",
|
|
138
|
+
attribute_getter="ramp_rate",
|
|
139
|
+
attribute_setter="set_ramp_rate",
|
|
140
|
+
range_getter=lambda: (self.RAMP_RATE_ABS_MIN, self.RAMP_RATE_ABS_MAX),
|
|
141
|
+
type=Feature.Type.Number,
|
|
142
|
+
category=Feature.Category.Config,
|
|
143
|
+
)
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
def query(self) -> dict:
|
|
147
|
+
"""Request Dimming configuration."""
|
|
148
|
+
req = merge(
|
|
149
|
+
self.query_for_command("get_dimmer_parameters"),
|
|
150
|
+
self.query_for_command("get_default_behavior"),
|
|
151
|
+
)
|
|
152
|
+
|
|
153
|
+
return req
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def config(self) -> dict[str, Any]:
|
|
157
|
+
"""Return current configuration."""
|
|
158
|
+
return self.data["get_dimmer_parameters"]
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def threshold_min(self) -> int:
|
|
162
|
+
"""Return the minimum dimming level for this dimmer."""
|
|
163
|
+
return self.config["minThreshold"]
|
|
164
|
+
|
|
165
|
+
async def set_threshold_min(self, min: int) -> dict:
|
|
166
|
+
"""Set the minimum dimming level for this dimmer.
|
|
167
|
+
|
|
168
|
+
The value will depend on the luminaries connected to the dimmer.
|
|
169
|
+
|
|
170
|
+
:param min: The minimum dimming level, in the range 0-51.
|
|
171
|
+
"""
|
|
172
|
+
if min < self.THRESHOLD_ABS_MIN or min > self.THRESHOLD_ABS_MAX:
|
|
173
|
+
raise KasaException(
|
|
174
|
+
"Minimum dimming threshold is outside the supported range: "
|
|
175
|
+
f"{self.THRESHOLD_ABS_MIN}-{self.THRESHOLD_ABS_MAX}"
|
|
176
|
+
)
|
|
177
|
+
return await self.call("calibrate_brightness", {"minThreshold": min})
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def fade_off_time(self) -> timedelta:
|
|
181
|
+
"""Return the fade off animation duration."""
|
|
182
|
+
return timedelta(milliseconds=cast(int, self.config["fadeOffTime"]))
|
|
183
|
+
|
|
184
|
+
async def set_fade_off_time(self, time: int | timedelta) -> dict:
|
|
185
|
+
"""Set the duration of the fade off animation.
|
|
186
|
+
|
|
187
|
+
:param time: The animation duration, in ms.
|
|
188
|
+
"""
|
|
189
|
+
if isinstance(time, int):
|
|
190
|
+
time = timedelta(milliseconds=time)
|
|
191
|
+
if time < self.FADE_TIME_ABS_MIN or time > self.FADE_TIME_ABS_MAX:
|
|
192
|
+
raise KasaException(
|
|
193
|
+
"Fade time is outside the bounds of the supported range:"
|
|
194
|
+
f"{self.FADE_TIME_ABS_MIN}-{self.FADE_TIME_ABS_MAX}"
|
|
195
|
+
)
|
|
196
|
+
return await self.call("set_fade_off_time", {"fadeTime": _td_to_ms(time)})
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
def fade_on_time(self) -> timedelta:
|
|
200
|
+
"""Return the fade on animation duration."""
|
|
201
|
+
return timedelta(milliseconds=cast(int, self.config["fadeOnTime"]))
|
|
202
|
+
|
|
203
|
+
async def set_fade_on_time(self, time: int | timedelta) -> dict:
|
|
204
|
+
"""Set the duration of the fade on animation.
|
|
205
|
+
|
|
206
|
+
:param time: The animation duration, in ms.
|
|
207
|
+
"""
|
|
208
|
+
if isinstance(time, int):
|
|
209
|
+
time = timedelta(milliseconds=time)
|
|
210
|
+
if time < self.FADE_TIME_ABS_MIN or time > self.FADE_TIME_ABS_MAX:
|
|
211
|
+
raise KasaException(
|
|
212
|
+
"Fade time is outside the bounds of the supported range:"
|
|
213
|
+
f"{self.FADE_TIME_ABS_MIN}-{self.FADE_TIME_ABS_MAX}"
|
|
214
|
+
)
|
|
215
|
+
return await self.call("set_fade_on_time", {"fadeTime": _td_to_ms(time)})
|
|
216
|
+
|
|
217
|
+
@property
|
|
218
|
+
def gentle_off_time(self) -> timedelta:
|
|
219
|
+
"""Return the gentle fade off animation duration."""
|
|
220
|
+
return timedelta(milliseconds=cast(int, self.config["gentleOffTime"]))
|
|
221
|
+
|
|
222
|
+
async def set_gentle_off_time(self, time: int | timedelta) -> dict:
|
|
223
|
+
"""Set the duration of the gentle fade off animation.
|
|
224
|
+
|
|
225
|
+
:param time: The animation duration, in ms.
|
|
226
|
+
"""
|
|
227
|
+
if isinstance(time, int):
|
|
228
|
+
time = timedelta(milliseconds=time)
|
|
229
|
+
if time < self.GENTLE_TIME_ABS_MIN or time > self.GENTLE_TIME_ABS_MAX:
|
|
230
|
+
raise KasaException(
|
|
231
|
+
"Gentle off time is outside the bounds of the supported range: "
|
|
232
|
+
f"{self.GENTLE_TIME_ABS_MIN}-{self.GENTLE_TIME_ABS_MAX}."
|
|
233
|
+
)
|
|
234
|
+
return await self.call("set_gentle_off_time", {"duration": _td_to_ms(time)})
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
def gentle_on_time(self) -> timedelta:
|
|
238
|
+
"""Return the gentle fade on animation duration."""
|
|
239
|
+
return timedelta(milliseconds=cast(int, self.config["gentleOnTime"]))
|
|
240
|
+
|
|
241
|
+
async def set_gentle_on_time(self, time: int | timedelta) -> dict:
|
|
242
|
+
"""Set the duration of the gentle fade on animation.
|
|
243
|
+
|
|
244
|
+
:param time: The animation duration, in ms.
|
|
245
|
+
"""
|
|
246
|
+
if isinstance(time, int):
|
|
247
|
+
time = timedelta(milliseconds=time)
|
|
248
|
+
if time < self.GENTLE_TIME_ABS_MIN or time > self.GENTLE_TIME_ABS_MAX:
|
|
249
|
+
raise KasaException(
|
|
250
|
+
"Gentle off time is outside the bounds of the supported range: "
|
|
251
|
+
f"{self.GENTLE_TIME_ABS_MIN}-{self.GENTLE_TIME_ABS_MAX}."
|
|
252
|
+
)
|
|
253
|
+
return await self.call("set_gentle_on_time", {"duration": _td_to_ms(time)})
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
def ramp_rate(self) -> int:
|
|
257
|
+
"""Return the rate that the dimmer buttons increment the dimmer level."""
|
|
258
|
+
return self.config["rampRate"]
|
|
259
|
+
|
|
260
|
+
async def set_ramp_rate(self, rate: int) -> dict:
|
|
261
|
+
"""Set how quickly to ramp the dimming level when using the dimmer buttons.
|
|
262
|
+
|
|
263
|
+
:param rate: The rate to increment the dimming level with each press.
|
|
264
|
+
"""
|
|
265
|
+
if rate < self.RAMP_RATE_ABS_MIN or rate > self.RAMP_RATE_ABS_MAX:
|
|
266
|
+
raise KasaException(
|
|
267
|
+
"Gentle off time is outside the bounds of the supported range:"
|
|
268
|
+
f"{self.RAMP_RATE_ABS_MIN}-{self.RAMP_RATE_ABS_MAX}"
|
|
269
|
+
)
|
|
270
|
+
return await self.call("set_button_ramp_rate", {"rampRate": rate})
|
|
@@ -12,20 +12,11 @@ class LightEffect(IotModule, LightEffectInterface):
|
|
|
12
12
|
|
|
13
13
|
@property
|
|
14
14
|
def effect(self) -> str:
|
|
15
|
-
"""Return effect
|
|
16
|
-
|
|
17
|
-
Example:
|
|
18
|
-
{'brightness': 50,
|
|
19
|
-
'custom': 0,
|
|
20
|
-
'enable': 0,
|
|
21
|
-
'id': '',
|
|
22
|
-
'name': ''}
|
|
23
|
-
"""
|
|
15
|
+
"""Return effect name."""
|
|
24
16
|
eff = self.data["lighting_effect_state"]
|
|
25
17
|
name = eff["name"]
|
|
26
18
|
if eff["enable"]:
|
|
27
|
-
return name
|
|
28
|
-
|
|
19
|
+
return name or self.LIGHT_EFFECTS_UNNAMED_CUSTOM
|
|
29
20
|
return self.LIGHT_EFFECTS_OFF
|
|
30
21
|
|
|
31
22
|
@property
|
|
@@ -111,6 +111,7 @@ class Module(ABC):
|
|
|
111
111
|
IotAmbientLight: Final[ModuleName[iot.AmbientLight]] = ModuleName("ambient")
|
|
112
112
|
IotAntitheft: Final[ModuleName[iot.Antitheft]] = ModuleName("anti_theft")
|
|
113
113
|
IotCountdown: Final[ModuleName[iot.Countdown]] = ModuleName("countdown")
|
|
114
|
+
IotDimmer: Final[ModuleName[iot.Dimmer]] = ModuleName("dimmer")
|
|
114
115
|
IotMotion: Final[ModuleName[iot.Motion]] = ModuleName("motion")
|
|
115
116
|
IotSchedule: Final[ModuleName[iot.Schedule]] = ModuleName("schedule")
|
|
116
117
|
IotUsage: Final[ModuleName[iot.Usage]] = ModuleName("usage")
|
|
@@ -182,6 +183,11 @@ class Module(ABC):
|
|
|
182
183
|
self._module = module
|
|
183
184
|
self._module_features: dict[str, Feature] = {}
|
|
184
185
|
|
|
186
|
+
@property
|
|
187
|
+
def device(self) -> Device:
|
|
188
|
+
"""Return the device exposing the module."""
|
|
189
|
+
return self._device
|
|
190
|
+
|
|
185
191
|
@property
|
|
186
192
|
def _all_features(self) -> dict[str, Feature]:
|
|
187
193
|
"""Get the features for this module and any sub modules."""
|
|
@@ -19,6 +19,8 @@ class Mode(IntEnum):
|
|
|
19
19
|
Balanced = 2
|
|
20
20
|
Max = 3
|
|
21
21
|
|
|
22
|
+
Off = -1_000
|
|
23
|
+
|
|
22
24
|
|
|
23
25
|
class Dustbin(SmartModule):
|
|
24
26
|
"""Implementation of vacuum dustbin."""
|
|
@@ -91,6 +93,8 @@ class Dustbin(SmartModule):
|
|
|
91
93
|
@property
|
|
92
94
|
def mode(self) -> str:
|
|
93
95
|
"""Return auto-emptying mode."""
|
|
96
|
+
if self.auto_collection is False:
|
|
97
|
+
return Mode.Off.name
|
|
94
98
|
return Mode(self._settings["dust_collection_mode"]).name
|
|
95
99
|
|
|
96
100
|
async def set_mode(self, mode: str) -> dict:
|
|
@@ -101,8 +105,14 @@ class Dustbin(SmartModule):
|
|
|
101
105
|
"Invalid auto/emptying mode speed %s, available %s", mode, name_to_value
|
|
102
106
|
)
|
|
103
107
|
|
|
108
|
+
if mode == Mode.Off.name:
|
|
109
|
+
return await self.set_auto_collection(False)
|
|
110
|
+
|
|
111
|
+
# Make a copy just in case, even when we are overriding both settings
|
|
104
112
|
settings = self._settings.copy()
|
|
113
|
+
settings["auto_dust_collection"] = True
|
|
105
114
|
settings["dust_collection_mode"] = name_to_value[mode]
|
|
115
|
+
|
|
106
116
|
return await self.call("setDustCollectionInfo", settings)
|
|
107
117
|
|
|
108
118
|
@property
|