python-kasa 0.10.1__tar.gz → 0.11.0.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.10.1 → python_kasa-0.11.0.1}/CHANGELOG.md +179 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/PKG-INFO +14 -19
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/README.md +9 -9
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/dump_devinfo.py +3 -19
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/helpers/smartcamrequests.py +5 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/helpers/smartrequests.py +1 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/codeinfo.md +5 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/energy.md +4 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/tutorial.py +17 -14
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/common.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/device.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/hub.py +5 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/main.py +1 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/schedule.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/wifi.py +14 -4
- python_kasa-0.11.0.1/kasa/credentials.py +56 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/device.py +16 -11
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/device_factory.py +9 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/deviceconfig.py +4 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/discover.py +20 -8
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/exceptions.py +3 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/feature.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/httpclient.py +4 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/childsetup.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/light.py +5 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/lighteffect.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/lightpreset.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/thermostat.py +2 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotbulb.py +45 -33
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotdevice.py +15 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotdimmer.py +4 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotlightstrip.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotplug.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotstrip.py +34 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iottimezone.py +105 -15
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/__init__.py +2 -0
- python_kasa-0.11.0.1/kasa/iot/modules/homekit.py +53 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/time.py +53 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/module.py +13 -8
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/protocols/iotprotocol.py +3 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/protocols/smartprotocol.py +11 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/__init__.py +2 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/childdevice.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/clean.py +170 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/consumables.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/energy.py +76 -23
- python_kasa-0.11.0.1/kasa/smart/modules/lightstripsegment.py +52 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/lighttransition.py +38 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/mop.py +4 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/powerprotection.py +7 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/temperaturecontrol.py +4 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/waterleaksensor.py +14 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/smartchilddevice.py +1 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/smartdevice.py +9 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/__init__.py +2 -1
- python_kasa-0.11.0.1/kasa/smartcam/detectionmodule.py +58 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/__init__.py +12 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/babycrydetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/barkdetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/battery.py +137 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/glassdetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/lastalertdetection.py +102 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/linecrossingdetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/meowdetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/motiondetection.py +24 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/pantilt.py +72 -4
- python_kasa-0.11.0.1/kasa/smartcam/modules/persondetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/petdetection.py +24 -0
- python_kasa-0.11.0.1/kasa/smartcam/modules/tamperdetection.py +24 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/time.py +37 -15
- python_kasa-0.11.0.1/kasa/smartcam/modules/vehicledetection.py +24 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/smartcamchild.py +4 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/smartcamdevice.py +166 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/smartcammodule.py +20 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/aestransport.py +9 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/basetransport.py +22 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/klaptransport.py +18 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/sslaestransport.py +30 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/ssltransport.py +9 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/xortransport.py +6 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/pyproject.toml +16 -15
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/cli/test_hub.py +12 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/cli/test_vacuum.py +15 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/conftest.py +58 -12
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/device_fixtures.py +60 -21
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/discovery_fixtures.py +12 -11
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fakeprotocol_iot.py +31 -27
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fakeprotocol_smart.py +59 -19
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fakeprotocol_smartcam.py +68 -13
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtureinfo.py +6 -10
- python_kasa-0.11.0.1/tests/fixtures/iot/EP25(US)_1.0_1.0.14.json +80 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/KL110B(UN)_1.0_1.8.11.json +288 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/KL400L10(US)_1.0_1.0.10.json +144 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/KL400L5(US)_1.0_1.0.11.json +98 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/KL420L5(US)_1.0_1.0.7.json +57 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/LB100(US)_1.0_1.8.11.json +135 -0
- python_kasa-0.11.0.1/tests/fixtures/iot/LB130(US)_1.0_1.8.11.json +139 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/H100(AU)_1.0_1.5.23.json +513 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/KH100(UK)_1.0_1.7.5.json +721 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/KS225(US)_1.0_1.1.1.json +304 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L430C(EU)_1.0_1.0.4.json +469 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L430P(EU)_1.0_1.0.9.json +368 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L530B(EU)_3.0_1.1.9.json +480 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L530E(TW)_2.0_1.1.1.json +616 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L530EA(EU)_1.0_1.4.2.json +537 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L535E(EU)_3.0_1.1.8.json +559 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/L930-5(EU)_1.0_1.2.5.json +528 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/P105(US)_1.0_1.2.5.json +354 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/P110(AU)_1.0_1.3.1.json +460 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/P125M(US)_1.0_1.4.4.json +315 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/P316M(US)_1.6_1.0.5.json +3485 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/S500(US)_1.0_1.2.0.json +363 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/S515D(US)_1.6_1.0.4.json +688 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/TP10(IT)_1.0_1.2.5.json +346 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/TS15(US)_1.0_1.2.2.json +336 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/child/KE100(UK)_1.0_2.15.0.json +175 -0
- python_kasa-0.11.0.1/tests/fixtures/smart/child/KE110(EU)_1.0_1.4.0.json +797 -0
- python_kasa-0.10.1/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json → python_kasa-0.11.0.1/tests/fixtures/smart/child/T100(US)_1.0_1.12.0.json +48 -45
- python_kasa-0.11.0.1/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json +530 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C101(US)_5.0_1.4.3.json +1154 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C110(EU)_2.0_1.4.3.json +960 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C200_1.0_1.3.17.json +712 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C210(EU)_1.0_1.4.7.json +1060 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C220(EU)_1.0_1.2.5.json +1139 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/C460(CA)_1.0_1.2.0.json +1056 -0
- python_kasa-0.11.0.1/tests/fixtures/smartcam/TC40(EU)_2.0_1.0.4.json +1037 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_ambientlight.py +3 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_cloud.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_dimmer.py +6 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_emeter.py +16 -16
- python_kasa-0.11.0.1/tests/iot/modules/test_homekit.py +59 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_motion.py +7 -7
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_schedule.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/test_usage.py +7 -7
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/test_iotbulb.py +28 -18
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/test_iotdevice.py +26 -25
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/test_iotdimmer.py +20 -13
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/test_iotlightstrip.py +10 -9
- python_kasa-0.11.0.1/tests/iot/test_iotstrip.py +49 -0
- python_kasa-0.11.0.1/tests/iot/test_iottimezone.py +194 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/test_wallswitch.py +3 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/protocols/test_iotprotocol.py +142 -69
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/protocols/test_smartprotocol.py +153 -27
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/features/test_brightness.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/features/test_colortemp.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_alarm.py +27 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_autooff.py +3 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_childlock.py +7 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_childprotection.py +7 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_childsetup.py +6 -6
- python_kasa-0.11.0.1/tests/smart/modules/test_clean.py +461 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_cleanrecords.py +4 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_consumables.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_contact.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_dustbin.py +7 -5
- python_kasa-0.11.0.1/tests/smart/modules/test_energy.py +426 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_fan.py +4 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_firmware.py +14 -9
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_homekit.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_humidity.py +4 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_light_effect.py +2 -2
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_light_strip_effect.py +2 -2
- python_kasa-0.11.0.1/tests/smart/modules/test_lightstripsegment.py +57 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_lighttransition.py +39 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_matter.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_mop.py +7 -6
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_motionsensor.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_powerprotection.py +35 -24
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_speaker.py +5 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_temperature.py +6 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_temperaturecontrol.py +41 -17
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_triggerlogs.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/test_waterleak.py +20 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/test_smartdevice.py +27 -22
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smartcam/modules/test_alarm.py +3 -3
- python_kasa-0.11.0.1/tests/smartcam/modules/test_battery.py +96 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smartcam/modules/test_camera.py +3 -3
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smartcam/modules/test_childsetup.py +6 -6
- python_kasa-0.11.0.1/tests/smartcam/modules/test_detections.py +168 -0
- python_kasa-0.11.0.1/tests/smartcam/modules/test_lastalertdetection.py +123 -0
- python_kasa-0.11.0.1/tests/smartcam/modules/test_pantilt.py +212 -0
- python_kasa-0.11.0.1/tests/smartcam/test_smartcamdevice.py +524 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_bulb.py +19 -13
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_childdevice.py +15 -8
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_cli.py +215 -88
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_common_modules.py +273 -19
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_device.py +43 -27
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_device_factory.py +93 -12
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_device_type.py +1 -1
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_deviceconfig.py +13 -10
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_devtools.py +5 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_discovery.py +84 -34
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_feature.py +78 -62
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_httpclient.py +22 -5
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_plug.py +7 -7
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_readme_examples.py +22 -18
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/test_strip.py +10 -9
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/test_aestransport.py +53 -21
- python_kasa-0.11.0.1/tests/transports/test_credentials_hash.py +228 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/test_klaptransport.py +84 -53
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/test_linkietransport.py +7 -4
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/test_sslaestransport.py +161 -17
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/test_ssltransport.py +14 -12
- python_kasa-0.10.1/kasa/credentials.py +0 -31
- python_kasa-0.10.1/kasa/smartcam/modules/babycrydetection.py +0 -49
- python_kasa-0.10.1/kasa/smartcam/modules/battery.py +0 -113
- python_kasa-0.10.1/kasa/smartcam/modules/motiondetection.py +0 -49
- python_kasa-0.10.1/kasa/smartcam/modules/persondetection.py +0 -49
- python_kasa-0.10.1/kasa/smartcam/modules/petdetection.py +0 -49
- python_kasa-0.10.1/kasa/smartcam/modules/tamperdetection.py +0 -49
- python_kasa-0.10.1/tests/smart/modules/test_clean.py +0 -241
- python_kasa-0.10.1/tests/smart/modules/test_energy.py +0 -109
- python_kasa-0.10.1/tests/smartcam/modules/test_babycrydetection.py +0 -45
- python_kasa-0.10.1/tests/smartcam/modules/test_battery.py +0 -33
- python_kasa-0.10.1/tests/smartcam/modules/test_motiondetection.py +0 -43
- python_kasa-0.10.1/tests/smartcam/modules/test_persondetection.py +0 -45
- python_kasa-0.10.1/tests/smartcam/modules/test_petdetection.py +0 -45
- python_kasa-0.10.1/tests/smartcam/modules/test_tamperdetection.py +0 -45
- python_kasa-0.10.1/tests/smartcam/test_smartcamdevice.py +0 -71
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/.gitignore +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/LICENSE +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/README.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/bench/benchmark.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/bench/utils/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/bench/utils/data.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/bench/utils/original.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/create_module_fixtures.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/generate_supported.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/helpers/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/parse_pcap.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/parse_pcap_klap.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/perftest.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/devtools/update_fixtures.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/Makefile +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/make.bat +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/SUPPORTED.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/_static/copybutton.js +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/cli.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/conf.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/contribute.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/deprecated.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/featureattributes.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/connect.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/device.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/discover.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/feature.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/light.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/module.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides/strip.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/guides.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/index.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/library.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/reference.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartbulb.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartdevice.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartdimmer.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartlightstrip.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartplug.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/smartstrip.rst +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/topics.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/docs/source/tutorial.md +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cachedzoneinfo.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/__main__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/discover.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/feature.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/lazygroup.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/light.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/time.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/usage.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/cli/vacuum.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/device_type.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/emeterstatus.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/alarm.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/energy.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/fan.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/led.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/interfaces/time.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/effects.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotcamera.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/iotmodule.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/ambientlight.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/antitheft.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/cloud.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/countdown.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/dimmer.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/emeter.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/led.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/light.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/lighteffect.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/lightpreset.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/motion.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/rulemodule.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/schedule.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/iot/modules/usage.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/json.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/modulemapping.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/modulemapping.pyi +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/protocols/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/protocols/protocol.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/protocols/smartcamprotocol.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/py.typed +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/effects.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/alarm.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/autooff.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/batterysensor.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/brightness.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/childlock.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/childprotection.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/childsetup.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/cleanrecords.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/cloud.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/color.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/colortemperature.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/contactsensor.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/devicemodule.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/dustbin.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/fan.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/firmware.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/frostprotection.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/homekit.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/humiditysensor.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/led.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/light.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/lighteffect.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/lightpreset.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/lightstripeffect.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/matter.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/motionsensor.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/overheatprotection.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/reportmode.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/speaker.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/temperaturesensor.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/thermostat.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/time.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/modules/triggerlogs.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smart/smartmodule.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/alarm.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/camera.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/childdevice.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/childsetup.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/device.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/homekit.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/led.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/lensmask.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/smartcam/modules/matter.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/kasa/transports/linkietransport.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/cli/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/EP10(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/EP40(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS100(UK)_1.0_1.2.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS100(UK)_4.1_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS100(US)_1.0_1.2.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS100(US)_2.0_1.5.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS103(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS105(US)_1.0_1.5.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS107(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS110(EU)_1.0_1.2.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS110(EU)_4.0_1.0.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS110(US)_1.0_1.2.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS200(US)_2.0_1.5.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS200(US)_3.0_1.1.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS210(US)_1.0_1.5.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS210(US)_2.0_1.1.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS210(US)_3.0_1.0.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS220(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS220(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.12.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL125(US)_1.20_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL125(US)_2.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL125(US)_4.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL130(EU)_1.0_1.8.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL130(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.15.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL420L5(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL430(UN)_2.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL430(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL50(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL60(UN)_1.0_1.1.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KL60(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP100(US)_3.0_1.0.1.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP115(EU)_1.0_1.0.16.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP125(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP200(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP303(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP400(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP400(US)_2.0_1.0.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP401(US)_1.0_1.0.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS200(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.12.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS220(US)_1.0_1.0.13.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS220M(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS230(US)_1.0_1.0.14.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/KS230(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iot/LB110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/iotcam/EC60(US)_4.0_2.3.22.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/serialization/deviceconfig_camera-aes-https.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/serialization/deviceconfig_plug-klap.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/serialization/deviceconfig_plug-xor.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/D100C(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/EP40M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/HS200(US)_5.26_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KH100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KH100(EU)_1.0_1.5.12.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KP125M(US)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L630(EU)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P100(US)_1.0.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P100(US)_1.0.0_1.3.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P100(US)_1.0.0_1.4.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P110M(AU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P110M(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P115(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P135(US)_1.0_1.2.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P210M(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/P306(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/RV20 Max Plus(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/RV30 Max(US)_1.0_1.2.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S200B(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S200B(US)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.11.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S210(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/S220(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T110(US)_1.0_1.9.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smart/child/T315(US)_1.0_1.8.0.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C100_4.0_1.3.14.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C210_2.0_1.3.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C220(EU)_1.0_1.2.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C225(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C325WB(EU)_1.0_1.1.17.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C520WS(US)_1.0_1.2.8.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/C720(US)_1.0_1.2.3.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/D130(US)_1.0_1.1.9.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/H200(US)_1.0_1.3.6.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/TC65_1.0_1.3.9.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/TC70_3.0_1.3.11.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/fixtures/smartcam/child/D230(EU)_1.20_1.1.19.json +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/iot/modules/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/protocols/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/features/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smart/modules/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smartcam/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/smartcam/modules/__init__.py +0 -0
- {python_kasa-0.10.1 → python_kasa-0.11.0.1}/tests/transports/__init__.py +0 -0
|
@@ -1,5 +1,184 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.0.1](https://github.com/python-kasa/python-kasa/tree/0.11.0.1) (2026-10-04)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.2...0.11.0.1)
|
|
6
|
+
|
|
7
|
+
**Release summary:**
|
|
8
|
+
|
|
9
|
+
*Note: 0.11.0 was tagged but never published to PyPI due to a packaging issue. 0.11.0.1 contains the same changes plus a fix for the release workflow.*
|
|
10
|
+
|
|
11
|
+
This is a huge and long overdue release, coming more than a year and a half after the previous one.
|
|
12
|
+
Hopefully the next one follows sooner, as the TPAP transport (which did not make it into this release) is used more and more on newer devices.
|
|
13
|
+
|
|
14
|
+
This release brings broader camera support, new modules for lights, vacuums and cameras, and many connectivity fixes for newer firmware versions. Some other highlights:
|
|
15
|
+
- Improved Tapo camera support: login version 3, presets, wifi handling, last alert detection, and more robust authentication and discovery.
|
|
16
|
+
- Selective room cleaning for robot vacuums.
|
|
17
|
+
- Configurable light strip length via the new strip segment module, and an exposed light transition state change flag.
|
|
18
|
+
- Basic HomeKit module for Kasa (iot) devices.
|
|
19
|
+
- Energy monitoring V2 support (S515D).
|
|
20
|
+
- Better hub and thermostat state reporting (hold, summer mode, low battery).
|
|
21
|
+
- Connection fixes for newer Tapo firmware and older SSL devices, plus KLAP v2 for iot devices.
|
|
22
|
+
- More resilient time handling, with failover and UTC fallback for iot devices.
|
|
23
|
+
- Python 3.14 is now supported.
|
|
24
|
+
- Inclusion of fixtures for 29 devices or firmware versions, including the Tapo C460, C200 and C101 cameras and the KH100 hub with KE100/KE110 thermostats.
|
|
25
|
+
|
|
26
|
+
**Thank you to all contributors!**
|
|
27
|
+
|
|
28
|
+
A big thank you to everyone who contributed to this release, whether through code, device fixtures, bug reports or testing.
|
|
29
|
+
|
|
30
|
+
Special thanks to @ZeliardM for a huge effort on both features and project maintenance, including but not limited to:
|
|
31
|
+
- Features like the HomeKit module for iot devices, iot time module failover, wifi handling and credential improvements for cameras, Tapo login version 3, and V2 energy monitoring for S515D.
|
|
32
|
+
- A lot of necessary maintenance work including type annotations and cleanups throughout the test suite, modernized docstrings, CI hardening with SHA-pinned actions, and many bug fixes. This helps us to keep the library maintainable and open to new contributions.
|
|
33
|
+
|
|
34
|
+
A warm welcome to our new contributors, with special thanks to those who contributed improvements and fixes:
|
|
35
|
+
- @alams154: discovery on port 20004
|
|
36
|
+
- @bluntman001: iot device classification fix
|
|
37
|
+
- @bm1549: KLAP v2 transport for iot devices
|
|
38
|
+
- @darylldelfin: cipher support for newer Tapo firmware
|
|
39
|
+
- @davidefiocco: vacuum mop water level fix
|
|
40
|
+
- @epg-pers: selective room cleaning for vacuums
|
|
41
|
+
- @freeKC: camera discovery and authentication fixes
|
|
42
|
+
- @gpongelli: extended camera detection
|
|
43
|
+
- @Ikstar: KL420 color temperature range
|
|
44
|
+
- @juherr: last alert detection module for cameras, camera error codes and a C200 fixture
|
|
45
|
+
- @kad: SSL connections to older devices
|
|
46
|
+
- @KaloyanNaumov: multi-request timeout handling
|
|
47
|
+
- @loganrosen: KL400L5 color temperature range
|
|
48
|
+
- @markvanpraet: Tapo C460 support and camera battery fix
|
|
49
|
+
- @monteccarlos: iot timezone mapping fix
|
|
50
|
+
- @mrwogu: preset support for Tapo cameras
|
|
51
|
+
- @nopoz: strip segment module, light transition flag and credentials hash fix
|
|
52
|
+
- @tk1475: UTC fallback for unset iot device clocks
|
|
53
|
+
- @wh1t3f1r3: non-retryable network error handling
|
|
54
|
+
|
|
55
|
+
Thanks also to our new contributors who provided device fixtures to help future development efforts: @emanueleg, @fantandrea, @HarryPehkonen, @ijaron, @Krotu, @LostLuma, @mjbohr and @TheLinuxGuy.
|
|
56
|
+
|
|
57
|
+
**This release in numbers:**
|
|
58
|
+
|
|
59
|
+
- 68 merged pull requests from 29 contributors, 27 of them first-time contributors
|
|
60
|
+
- 8 new modules
|
|
61
|
+
- 29 new device fixtures
|
|
62
|
+
- 203 files changed, with 25,199 lines added and 2,585 removed
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
**Implemented enhancements:**
|
|
66
|
+
|
|
67
|
+
- \[Feature Request\] C220 camera line crossing detection on-off switch [\#1551](https://github.com/python-kasa/python-kasa/issues/1551)
|
|
68
|
+
- SslAesTransport: handshake again when a camera answers 401 to passthrough [\#1771](https://github.com/python-kasa/python-kasa/pull/1771) (@freeKC)
|
|
69
|
+
- Add LastAlertDetection module for smartcam devices [\#1762](https://github.com/python-kasa/python-kasa/pull/1762) (@juherr)
|
|
70
|
+
- Add KL420 to TPLINK\_KELVIN color temperature ranges [\#1757](https://github.com/python-kasa/python-kasa/pull/1757) (@Ikstar)
|
|
71
|
+
- Do not authenticate with a credentials\_hash from a different transport [\#1749](https://github.com/python-kasa/python-kasa/pull/1749) (@nopoz)
|
|
72
|
+
- Expose the light transition state change flag [\#1745](https://github.com/python-kasa/python-kasa/pull/1745) (@nopoz)
|
|
73
|
+
- Add strip segment module for configurable light strip length [\#1744](https://github.com/python-kasa/python-kasa/pull/1744) (@nopoz)
|
|
74
|
+
- Add KL400L5 color temperature range [\#1719](https://github.com/python-kasa/python-kasa/pull/1719) (@loganrosen)
|
|
75
|
+
- Update smartcam credential handling and tests [\#1664](https://github.com/python-kasa/python-kasa/pull/1664) (@ZeliardM)
|
|
76
|
+
- Add support for V2 Energy Monitoring for S515D [\#1663](https://github.com/python-kasa/python-kasa/pull/1663) (@ZeliardM)
|
|
77
|
+
- Add selective room cleaning to vacuum clean module [\#1660](https://github.com/python-kasa/python-kasa/pull/1660) (@epg-pers)
|
|
78
|
+
- New Wi-Fi handling for SMARTCAM devices [\#1639](https://github.com/python-kasa/python-kasa/pull/1639) (@ZeliardM)
|
|
79
|
+
- Add support for tapo login\_version 3 in sslaestransport [\#1638](https://github.com/python-kasa/python-kasa/pull/1638) (@ZeliardM)
|
|
80
|
+
- Add preset support for Tapo cameras [\#1615](https://github.com/python-kasa/python-kasa/pull/1615) (@mrwogu)
|
|
81
|
+
- Add python 3.14 to supported versions [\#1599](https://github.com/python-kasa/python-kasa/pull/1599) (@rytilahti)
|
|
82
|
+
- Add discovery port 20004 [\#1595](https://github.com/python-kasa/python-kasa/pull/1595) (@alams154)
|
|
83
|
+
- Implement IOT Time Module Failover [\#1583](https://github.com/python-kasa/python-kasa/pull/1583) (@ZeliardM)
|
|
84
|
+
- Add bare bones homekit module for iot devices [\#1566](https://github.com/python-kasa/python-kasa/pull/1566) (@ZeliardM)
|
|
85
|
+
- Extend smartcam detection support [\#1552](https://github.com/python-kasa/python-kasa/pull/1552) (@gpongelli)
|
|
86
|
+
|
|
87
|
+
**Fixed bugs:**
|
|
88
|
+
|
|
89
|
+
- Time module unavailable for waterleak sensor [\#1613](https://github.com/python-kasa/python-kasa/issues/1613)
|
|
90
|
+
- 'No time zone found with key EST' in debian 13 [\#1579](https://github.com/python-kasa/python-kasa/issues/1579)
|
|
91
|
+
- Discovery: accept cameras that only send the encrypt\_type list [\#1770](https://github.com/python-kasa/python-kasa/pull/1770) (@freeKC)
|
|
92
|
+
- Classify IOT devices via sysinfo regardless of transport \(fixes \#1740\) [\#1769](https://github.com/python-kasa/python-kasa/pull/1769) (@bluntman001)
|
|
93
|
+
- Fall back to UTC for iot time when the device clock is not set [\#1768](https://github.com/python-kasa/python-kasa/pull/1768) (@tk1475)
|
|
94
|
+
- Add UNKNOWN\_USERNAME \(-60502\) camera error code [\#1761](https://github.com/python-kasa/python-kasa/pull/1761) (@juherr)
|
|
95
|
+
- Disable multi requests on timeout during multi-request [\#1759](https://github.com/python-kasa/python-kasa/pull/1759) (@KaloyanNaumov)
|
|
96
|
+
- Add ECDHE-RSA-AES256 cipher for newer Tapo firmware [\#1755](https://github.com/python-kasa/python-kasa/pull/1755) (@darylldelfin)
|
|
97
|
+
- Map iot timezone index 18 to America/New\_York instead of EST [\#1743](https://github.com/python-kasa/python-kasa/pull/1743) (@monteccarlos)
|
|
98
|
+
- fix: use KLAP v2 transport for IOT devices with login version 2 [\#1731](https://github.com/python-kasa/python-kasa/pull/1731) (@bm1549)
|
|
99
|
+
- Add ENETUNREACH to non-retryable errors in XorTransport [\#1668](https://github.com/python-kasa/python-kasa/pull/1668) (@wh1t3f1r3)
|
|
100
|
+
- Fix mop set\_waterlevel sending setCleanAttr without type field [\#1667](https://github.com/python-kasa/python-kasa/pull/1667) (@davidefiocco)
|
|
101
|
+
- Fix SMARTCAM Time module and update tests [\#1659](https://github.com/python-kasa/python-kasa/pull/1659) (@ZeliardM)
|
|
102
|
+
- Fix camera login version in CLI [\#1658](https://github.com/python-kasa/python-kasa/pull/1658) (@ZeliardM)
|
|
103
|
+
- Allow SSL connections to older devices [\#1654](https://github.com/python-kasa/python-kasa/pull/1654) (@kad)
|
|
104
|
+
- waterleaksensor: use parent's Time for alert timestamp [\#1614](https://github.com/python-kasa/python-kasa/pull/1614) (@rytilahti)
|
|
105
|
+
- Add hold state to thermostatstate [\#1609](https://github.com/python-kasa/python-kasa/pull/1609) (@rytilahti)
|
|
106
|
+
- Fix thermostat idle reporting on low battery [\#1598](https://github.com/python-kasa/python-kasa/pull/1598) (@rytilahti)
|
|
107
|
+
- Add shutdown \(summer mode\) to thermostatstate [\#1588](https://github.com/python-kasa/python-kasa/pull/1588) (@rytilahti)
|
|
108
|
+
- Fix iotstrip child device time handling [\#1584](https://github.com/python-kasa/python-kasa/pull/1584) (@ZeliardM)
|
|
109
|
+
|
|
110
|
+
**Added support for devices:**
|
|
111
|
+
|
|
112
|
+
- Add C200 device fixture [\#1760](https://github.com/python-kasa/python-kasa/pull/1760) (@juherr)
|
|
113
|
+
- Add P125M fixture for firmware 1.4.4 [\#1746](https://github.com/python-kasa/python-kasa/pull/1746) (@HarryPehkonen)
|
|
114
|
+
- Add fixtures for KH100, KE100 and KE110 and simulate TRV states [\#1726](https://github.com/python-kasa/python-kasa/pull/1726) (@Krotu)
|
|
115
|
+
- Add L530EA\(EU\) device fixture [\#1694](https://github.com/python-kasa/python-kasa/pull/1694) (@ZeliardM)
|
|
116
|
+
- Add C101 test fixture [\#1673](https://github.com/python-kasa/python-kasa/pull/1673) (@ijaron)
|
|
117
|
+
- Add LB130\(US\) device fixture [\#1669](https://github.com/python-kasa/python-kasa/pull/1669) (@ZeliardM)
|
|
118
|
+
- Add KL110B\(UN\) device fixture [\#1657](https://github.com/python-kasa/python-kasa/pull/1657) (@ZeliardM)
|
|
119
|
+
- Add TS15\(US\) device fixture [\#1649](https://github.com/python-kasa/python-kasa/pull/1649) (@ZeliardM)
|
|
120
|
+
- Add Tapo C460 support [\#1645](https://github.com/python-kasa/python-kasa/pull/1645) (@markvanpraet)
|
|
121
|
+
- Add P105\(US\) device fixture [\#1644](https://github.com/python-kasa/python-kasa/pull/1644) (@ZeliardM)
|
|
122
|
+
- Add L430C\(EU\) device fixture [\#1643](https://github.com/python-kasa/python-kasa/pull/1643) (@ZeliardM)
|
|
123
|
+
- Add L430P\(EU\) device fixture [\#1607](https://github.com/python-kasa/python-kasa/pull/1607) (@LostLuma)
|
|
124
|
+
- Add S500\(US\)\_1.0\_1.2.0 fixture [\#1569](https://github.com/python-kasa/python-kasa/pull/1569) (@ZeliardM)
|
|
125
|
+
- Add device fixture for P316M\(US\) [\#1568](https://github.com/python-kasa/python-kasa/pull/1568) (@TheLinuxGuy)
|
|
126
|
+
- Add L535E\(EU\) 3.0 1.1.8 fixture [\#1545](https://github.com/python-kasa/python-kasa/pull/1545) (@fantandrea)
|
|
127
|
+
- Adding KL400L10\(US\)\_1.0\_1.0.10 fixture [\#1539](https://github.com/python-kasa/python-kasa/pull/1539) (@mjbohr)
|
|
128
|
+
- Add TP10\(IT\) 1.0 1.2.5 fixture [\#1538](https://github.com/python-kasa/python-kasa/pull/1538) (@emanueleg)
|
|
129
|
+
- Add LB100\(US\)\_1.0\_1.8.11 fixture file [\#1515](https://github.com/python-kasa/python-kasa/pull/1515) (@ZeliardM)
|
|
130
|
+
- Add KS225\(US\)\_1.0\_1.1.1 and L930-5\(EU\)\_1.0\_1.2.5 [\#1509](https://github.com/python-kasa/python-kasa/pull/1509) (@ZeliardM)
|
|
131
|
+
|
|
132
|
+
**Documentation updates:**
|
|
133
|
+
|
|
134
|
+
- How to hash credentials to make use of --credentials-hash flag? [\#1517](https://github.com/python-kasa/python-kasa/issues/1517)
|
|
135
|
+
- docs: modernize docstrings across the repository [\#1682](https://github.com/python-kasa/python-kasa/pull/1682) (@ZeliardM)
|
|
136
|
+
- Add a note to emeter guide being kasa-only [\#1512](https://github.com/python-kasa/python-kasa/pull/1512) (@rytilahti)
|
|
137
|
+
|
|
138
|
+
**Project maintenance:**
|
|
139
|
+
|
|
140
|
+
- Fix PyPI publishing for packages with metadata 2.5 [\#1779](https://github.com/python-kasa/python-kasa/pull/1779) (@rytilahti)
|
|
141
|
+
- tests: add type annotations to top-level test files [\#1688](https://github.com/python-kasa/python-kasa/pull/1688) (@ZeliardM)
|
|
142
|
+
- tests: add type annotations to CLI, protocol, and smartcam tests [\#1687](https://github.com/python-kasa/python-kasa/pull/1687) (@ZeliardM)
|
|
143
|
+
- tests: add type annotations to Smart tests [\#1686](https://github.com/python-kasa/python-kasa/pull/1686) (@ZeliardM)
|
|
144
|
+
- tests: add type annotations to IoT tests [\#1685](https://github.com/python-kasa/python-kasa/pull/1685) (@ZeliardM)
|
|
145
|
+
- tests: add type annotations to transport tests [\#1684](https://github.com/python-kasa/python-kasa/pull/1684) (@ZeliardM)
|
|
146
|
+
- tests: centralize transport and session cleanup in conftest [\#1683](https://github.com/python-kasa/python-kasa/pull/1683) (@ZeliardM)
|
|
147
|
+
- ci: pin all GitHub Actions to SHA hashes and update versions [\#1681](https://github.com/python-kasa/python-kasa/pull/1681) (@ZeliardM)
|
|
148
|
+
- tests: fix typos, child device subtype, CLI patch path, and deprecation test logic [\#1677](https://github.com/python-kasa/python-kasa/pull/1677) (@ZeliardM)
|
|
149
|
+
- Update GitHub Workflows and Actions [\#1622](https://github.com/python-kasa/python-kasa/pull/1622) (@ZeliardM)
|
|
150
|
+
- Use log-level debug for smartdevice query error reporting [\#1587](https://github.com/python-kasa/python-kasa/pull/1587) (@rytilahti)
|
|
151
|
+
- Use Device instead of SmartDevice where feasible [\#1585](https://github.com/python-kasa/python-kasa/pull/1585) (@ZeliardM)
|
|
152
|
+
|
|
153
|
+
**Closed issues:**
|
|
154
|
+
|
|
155
|
+
- Python 3.14 Support [\#1597](https://github.com/python-kasa/python-kasa/issues/1597)
|
|
156
|
+
- HS300 Child State - Time Module Error [\#1445](https://github.com/python-kasa/python-kasa/issues/1445)
|
|
157
|
+
|
|
158
|
+
## [0.10.2](https://github.com/python-kasa/python-kasa/tree/0.10.2) (2025-02-12)
|
|
159
|
+
|
|
160
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.1...0.10.2)
|
|
161
|
+
|
|
162
|
+
**Release summary:**
|
|
163
|
+
|
|
164
|
+
- Bugfix for [#1499](https://github.com/python-kasa/python-kasa/issues/1499).
|
|
165
|
+
- Support for L530B and C110 devices.
|
|
166
|
+
|
|
167
|
+
**Fixed bugs:**
|
|
168
|
+
|
|
169
|
+
- H100 - Raised error: not enough values to unpack \(expected 2, got 1\) [\#1499](https://github.com/python-kasa/python-kasa/issues/1499)
|
|
170
|
+
- Do not crash on missing build number in fw version [\#1500](https://github.com/python-kasa/python-kasa/pull/1500) (@rytilahti)
|
|
171
|
+
|
|
172
|
+
**Added support for devices:**
|
|
173
|
+
|
|
174
|
+
- Add C110\(EU\) 2.0 1.4.3 fixture [\#1503](https://github.com/python-kasa/python-kasa/pull/1503) (@sdb9696)
|
|
175
|
+
- Add L530B\(EU\) 3.0 1.1.9 fixture [\#1502](https://github.com/python-kasa/python-kasa/pull/1502) (@sdb9696)
|
|
176
|
+
|
|
177
|
+
**Project maintenance:**
|
|
178
|
+
|
|
179
|
+
- Add fixtures for new versions of H100, P110, and T100 devices [\#1501](https://github.com/python-kasa/python-kasa/pull/1501) (@LXGaming)
|
|
180
|
+
- Add L530E\(TW\) 2.0 1.1.1 fixture [\#1497](https://github.com/python-kasa/python-kasa/pull/1497) (@bluehomewu)
|
|
181
|
+
|
|
3
182
|
## [0.10.1](https://github.com/python-kasa/python-kasa/tree/0.10.1) (2025-02-02)
|
|
4
183
|
|
|
5
184
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.0...0.10.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: python-kasa
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0.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
|
|
@@ -15,24 +15,19 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
19
|
Requires-Python: <4.0,>=3.11
|
|
19
20
|
Requires-Dist: aiohttp>=3
|
|
20
21
|
Requires-Dist: asyncclick>=8.1.7
|
|
21
22
|
Requires-Dist: cryptography>=1.9
|
|
22
|
-
Requires-Dist: mashumaro>=3.
|
|
23
|
+
Requires-Dist: mashumaro>=3.20
|
|
23
24
|
Requires-Dist: tzdata>=2024.2; platform_system == 'Windows'
|
|
24
|
-
Provides-Extra: docs
|
|
25
|
-
Requires-Dist: docutils>=0.17; extra == 'docs'
|
|
26
|
-
Requires-Dist: myst-parser; extra == 'docs'
|
|
27
|
-
Requires-Dist: sphinx-rtd-theme~=2.0; extra == 'docs'
|
|
28
|
-
Requires-Dist: sphinx>=7.4.7; extra == 'docs'
|
|
29
|
-
Requires-Dist: sphinxcontrib-programoutput~=0.0; extra == 'docs'
|
|
30
25
|
Provides-Extra: shell
|
|
31
26
|
Requires-Dist: ptpython; extra == 'shell'
|
|
32
27
|
Requires-Dist: rich; extra == 'shell'
|
|
33
28
|
Provides-Extra: speedups
|
|
34
29
|
Requires-Dist: kasa-crypt>=0.2.0; extra == 'speedups'
|
|
35
|
-
Requires-Dist: orjson>=3.
|
|
30
|
+
Requires-Dist: orjson>=3.11.1; extra == 'speedups'
|
|
36
31
|
Description-Content-Type: text/markdown
|
|
37
32
|
|
|
38
33
|
# python-kasa
|
|
@@ -223,22 +218,22 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
223
218
|
<!--SUPPORTED_START-->
|
|
224
219
|
### Supported Kasa devices
|
|
225
220
|
|
|
226
|
-
- **Plugs**: EP10, EP25[^
|
|
221
|
+
- **Plugs**: EP10, EP25[^2], HS100[^2], HS103, HS105, HS110, KP100, KP105, KP115, KP125, KP125M[^1], KP401
|
|
227
222
|
- **Power Strips**: EP40, EP40M[^1], HS107, HS300, KP200, KP303, KP400
|
|
228
223
|
- **Wall Switches**: ES20M, HS200[^2], HS210, HS220[^2], KP405, KS200, KS200M, KS205[^1], KS220, KS220M, KS225[^1], KS230, KS240[^1]
|
|
229
|
-
- **Bulbs**: KL110, KL120, KL125, KL130, KL135, KL50, KL60, LB110
|
|
230
|
-
- **Light Strips**: KL400L5, KL420L5, KL430
|
|
224
|
+
- **Bulbs**: KL110, KL110B, KL120, KL125, KL130, KL135, KL50, KL60, LB100, LB110, LB130
|
|
225
|
+
- **Light Strips**: KL400L10, KL400L5, KL420L5, KL430
|
|
231
226
|
- **Hubs**: KH100[^1]
|
|
232
|
-
- **Hub-Connected Devices[^3]**: KE100[^1]
|
|
227
|
+
- **Hub-Connected Devices[^3]**: KE100[^1], KE110[^1]
|
|
233
228
|
|
|
234
229
|
### Supported Tapo[^1] devices
|
|
235
230
|
|
|
236
|
-
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
237
|
-
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
238
|
-
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
239
|
-
- **Bulbs**: L510B, L510E, L530E, L630
|
|
231
|
+
- **Plugs**: P100, P105, P110, P110M, P115, P125M, P135, TP10, TP15
|
|
232
|
+
- **Power Strips**: P210M, P300, P304M, P306, P316M, TP25
|
|
233
|
+
- **Wall Switches**: S210, S220, S500, S500D, S505, S505D, S515D, TS15
|
|
234
|
+
- **Bulbs**: L430C, L430P, L510B, L510E, L530B, L530E, L530EA, L535E, L630
|
|
240
235
|
- **Light Strips**: L900-10, L900-5, L920-5, L930-5
|
|
241
|
-
- **Cameras**: C100, C210, C220, C225, C325WB, C520WS, C720, TC65, TC70
|
|
236
|
+
- **Cameras**: C100, C101, C110, C200, C210, C220, C225, C325WB, C460, C520WS, C720, TC40, TC65, TC70
|
|
242
237
|
- **Doorbells and chimes**: D100C, D130, D230
|
|
243
238
|
- **Vacuums**: RV20 Max Plus, RV30 Max
|
|
244
239
|
- **Hubs**: H100, H200
|
|
@@ -186,22 +186,22 @@ The following devices have been tested and confirmed as working. If your device
|
|
|
186
186
|
<!--SUPPORTED_START-->
|
|
187
187
|
### Supported Kasa devices
|
|
188
188
|
|
|
189
|
-
- **Plugs**: EP10, EP25[^
|
|
189
|
+
- **Plugs**: EP10, EP25[^2], HS100[^2], HS103, HS105, HS110, KP100, KP105, KP115, KP125, KP125M[^1], KP401
|
|
190
190
|
- **Power Strips**: EP40, EP40M[^1], HS107, HS300, KP200, KP303, KP400
|
|
191
191
|
- **Wall Switches**: ES20M, HS200[^2], HS210, HS220[^2], KP405, KS200, KS200M, KS205[^1], KS220, KS220M, KS225[^1], KS230, KS240[^1]
|
|
192
|
-
- **Bulbs**: KL110, KL120, KL125, KL130, KL135, KL50, KL60, LB110
|
|
193
|
-
- **Light Strips**: KL400L5, KL420L5, KL430
|
|
192
|
+
- **Bulbs**: KL110, KL110B, KL120, KL125, KL130, KL135, KL50, KL60, LB100, LB110, LB130
|
|
193
|
+
- **Light Strips**: KL400L10, KL400L5, KL420L5, KL430
|
|
194
194
|
- **Hubs**: KH100[^1]
|
|
195
|
-
- **Hub-Connected Devices[^3]**: KE100[^1]
|
|
195
|
+
- **Hub-Connected Devices[^3]**: KE100[^1], KE110[^1]
|
|
196
196
|
|
|
197
197
|
### Supported Tapo[^1] devices
|
|
198
198
|
|
|
199
|
-
- **Plugs**: P100, P110, P110M, P115, P125M, P135, TP15
|
|
200
|
-
- **Power Strips**: P210M, P300, P304M, P306, TP25
|
|
201
|
-
- **Wall Switches**: S210, S220, S500D, S505, S505D
|
|
202
|
-
- **Bulbs**: L510B, L510E, L530E, L630
|
|
199
|
+
- **Plugs**: P100, P105, P110, P110M, P115, P125M, P135, TP10, TP15
|
|
200
|
+
- **Power Strips**: P210M, P300, P304M, P306, P316M, TP25
|
|
201
|
+
- **Wall Switches**: S210, S220, S500, S500D, S505, S505D, S515D, TS15
|
|
202
|
+
- **Bulbs**: L430C, L430P, L510B, L510E, L530B, L530E, L530EA, L535E, 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, C101, C110, C200, C210, C220, C225, C325WB, C460, C520WS, C720, TC40, TC65, TC70
|
|
205
205
|
- **Doorbells and chimes**: D100C, D130, D230
|
|
206
206
|
- **Vacuums**: RV20 Max Plus, RV30 Max
|
|
207
207
|
- **Hubs**: H100, H200
|
|
@@ -80,7 +80,7 @@ _LOGGER = logging.getLogger(__name__)
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
def _wrap_redactors(redactors: dict[str, Callable[[Any], Any] | None]):
|
|
83
|
-
"""Wrap the redactors for
|
|
83
|
+
"""Wrap the redactors for dump_devinfo.
|
|
84
84
|
|
|
85
85
|
Will replace all partial REDACT_ values with zeros.
|
|
86
86
|
If the data item is already scrubbed by dump_devinfo will leave as-is.
|
|
@@ -166,7 +166,7 @@ async def handle_device(
|
|
|
166
166
|
if autosave:
|
|
167
167
|
save = "y"
|
|
168
168
|
else:
|
|
169
|
-
save = click.prompt(
|
|
169
|
+
save = await click.prompt(
|
|
170
170
|
f"Do you want to save the above content to {save_filename} (y/n)"
|
|
171
171
|
)
|
|
172
172
|
if save == "y":
|
|
@@ -423,6 +423,7 @@ async def get_legacy_fixture(
|
|
|
423
423
|
Call(module="smartlife.iot.LAS", method="get_adc_value"),
|
|
424
424
|
Call(module="smartlife.iot.PIR", method="get_config"),
|
|
425
425
|
Call(module="smartlife.iot.PIR", method="get_adc_value"),
|
|
426
|
+
Call(module="smartlife.iot.homekit", method="setup_info_get"),
|
|
426
427
|
]
|
|
427
428
|
|
|
428
429
|
successes = []
|
|
@@ -725,15 +726,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
725
726
|
successes = []
|
|
726
727
|
child_device_components = {}
|
|
727
728
|
|
|
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
729
|
click.echo("Testing component_nego call ..", nl=False)
|
|
738
730
|
responses = await _make_requests_or_exit(
|
|
739
731
|
protocol,
|
|
@@ -812,8 +804,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
812
804
|
click.echo(f"Skipping {component_id}..", nl=False)
|
|
813
805
|
click.echo(click.style("UNSUPPORTED", fg="yellow"))
|
|
814
806
|
|
|
815
|
-
test_calls.extend(extra_test_calls)
|
|
816
|
-
|
|
817
807
|
# Child component calls
|
|
818
808
|
for child_device_id, child_components in child_device_components.items():
|
|
819
809
|
test_calls.append(
|
|
@@ -839,12 +829,6 @@ async def get_smart_test_calls(protocol: SmartProtocol):
|
|
|
839
829
|
else:
|
|
840
830
|
click.echo(f"Skipping {component_id}..", nl=False)
|
|
841
831
|
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
832
|
|
|
849
833
|
return test_calls, successes
|
|
850
834
|
|
|
@@ -44,6 +44,11 @@ SMARTCAM_REQUESTS: list[dict] = [
|
|
|
44
44
|
{"getWhitelampConfig": {"image": {"name": "switch"}}},
|
|
45
45
|
{"getMsgPushConfig": {"msg_push": {"name": ["chn1_msg_push_info"]}}},
|
|
46
46
|
{"getSdCardStatus": {"harddisk_manage": {"table": ["hd_info"]}}},
|
|
47
|
+
{
|
|
48
|
+
"getLinecrossingDetectionConfig": {
|
|
49
|
+
"linecrossing_detection": {"name": ["detection", "arming_schedule"]}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
47
52
|
{"getCircularRecordingConfig": {"harddisk_manage": {"name": "harddisk"}}},
|
|
48
53
|
{"getRecordPlan": {"record_plan": {"name": ["chn1_channel"]}}},
|
|
49
54
|
{"getAudioConfig": {"audio_config": {"name": ["speaker", "microphone"]}}},
|
|
@@ -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"),
|
|
@@ -10,11 +10,15 @@ Or the code is running inside an async function:
|
|
|
10
10
|
import asyncio
|
|
11
11
|
from kasa import Discover
|
|
12
12
|
|
|
13
|
+
|
|
13
14
|
async def main():
|
|
14
|
-
dev = await Discover.discover_single(
|
|
15
|
+
dev = await Discover.discover_single(
|
|
16
|
+
"127.0.0.1", username="un@example.com", password="pw"
|
|
17
|
+
)
|
|
15
18
|
await dev.turn_on()
|
|
16
19
|
await dev.update()
|
|
17
20
|
|
|
21
|
+
|
|
18
22
|
if __name__ == "__main__":
|
|
19
23
|
asyncio.run(main())
|
|
20
24
|
```
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
# Get Energy Consumption and Usage Statistics
|
|
3
3
|
|
|
4
|
+
:::{note}
|
|
5
|
+
The documentation on this page applies only to KASA-branded devices.
|
|
6
|
+
:::
|
|
7
|
+
|
|
4
8
|
:::{note}
|
|
5
9
|
In order to use the helper methods to calculate the statistics correctly, your devices need to have correct time set.
|
|
6
10
|
The devices use NTP (123/UDP) and public servers from [NTP Pool Project](https://www.ntppool.org/) to synchronize their time.
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
>>> devices = await Discover.discover(username="user@example.com", password="great_password")
|
|
8
8
|
>>> for dev in devices.values():
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
... await dev.update()
|
|
10
|
+
... print(dev.host)
|
|
11
11
|
127.0.0.1
|
|
12
12
|
127.0.0.2
|
|
13
13
|
127.0.0.3
|
|
@@ -56,20 +56,23 @@ True
|
|
|
56
56
|
>>> light.has_feature("hsv")
|
|
57
57
|
True
|
|
58
58
|
>>> if light.has_feature("hsv"):
|
|
59
|
-
|
|
59
|
+
... print(light.hsv)
|
|
60
60
|
HSV(hue=0, saturation=100, value=50)
|
|
61
61
|
|
|
62
62
|
You can test if a module is supported by using `get` to access it.
|
|
63
63
|
|
|
64
64
|
>>> if effect := dev.modules.get(Module.LightEffect):
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
>>> if effect := dev.modules.get(Module.LightEffect):
|
|
68
|
-
>>> await effect.set_effect("Party")
|
|
69
|
-
>>> await dev.update()
|
|
70
|
-
>>> print(effect.effect)
|
|
65
|
+
... print(effect.effect)
|
|
66
|
+
... print(effect.effect_list)
|
|
71
67
|
Off
|
|
72
68
|
['Off', 'Party', 'Relax']
|
|
69
|
+
|
|
70
|
+
You can then interact with the module:
|
|
71
|
+
|
|
72
|
+
>>> if effect := dev.modules.get(Module.LightEffect):
|
|
73
|
+
... _ = await effect.set_effect("Party")
|
|
74
|
+
... await dev.update()
|
|
75
|
+
... print(effect.effect)
|
|
73
76
|
Party
|
|
74
77
|
|
|
75
78
|
Individual pieces of functionality are also exposed via features which you can access via :attr:`~kasa.Device.features` and will only be present if they are supported.
|
|
@@ -83,14 +86,14 @@ The advantage of features is that they have a simple common interface of `id`, `
|
|
|
83
86
|
They are useful if you want write code that dynamically adapts as new features are added to the API.
|
|
84
87
|
|
|
85
88
|
>>> if auto_update := dev.features.get("auto_update_enabled"):
|
|
86
|
-
|
|
89
|
+
... print(auto_update.value)
|
|
87
90
|
False
|
|
88
91
|
>>> if auto_update:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
... _ = await auto_update.set_value(True)
|
|
93
|
+
... await dev.update()
|
|
94
|
+
... print(auto_update.value)
|
|
92
95
|
True
|
|
93
96
|
>>> for feat in dev.features.values():
|
|
94
|
-
|
|
97
|
+
... print(f"{feat.name}: {feat.value}")
|
|
95
98
|
Device ID: 0000000000000000000000000000000000000000\nState: True\nSignal Level: 2\nRSSI: -52\nSSID: #MASKED_SSID#\nReboot: <Action>\nDevice time: 2024-02-23 02:40:15+01:00\nBrightness: 50\nCloud connection: True\nHSV: HSV(hue=0, saturation=100, value=50)\nColor temperature: 2700\nAuto update enabled: True\nUpdate available: None\nCurrent firmware version: 1.1.6 Build 240130 Rel.173828\nAvailable firmware version: None\nCheck latest firmware: <Action>\nLight effect: Party\nLight preset: Light preset 1\nSmooth transition on: 2\nSmooth transition off: 2\nOverheated: False
|
|
96
99
|
"""
|
|
@@ -96,7 +96,7 @@ def json_formatter_cb(result: Any, **kwargs) -> None:
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
async def invoke_subcommand(
|
|
99
|
-
command: click.
|
|
99
|
+
command: click.Command,
|
|
100
100
|
ctx: click.Context,
|
|
101
101
|
args: list[str] | None = None,
|
|
102
102
|
**extra: Any,
|
|
@@ -200,7 +200,7 @@ async def _get_child_device(
|
|
|
200
200
|
if child_option is not None:
|
|
201
201
|
if child_option is OPTIONAL_VALUE_FLAG:
|
|
202
202
|
msg = _list_children()
|
|
203
|
-
child_index_option = click.prompt(
|
|
203
|
+
child_index_option = await click.prompt(
|
|
204
204
|
f"\n{msg}\nEnter the index number of the child device",
|
|
205
205
|
type=click.IntRange(0, len(device.children) - 1),
|
|
206
206
|
)
|
|
@@ -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:
|
|
@@ -4,7 +4,7 @@ import asyncio
|
|
|
4
4
|
|
|
5
5
|
import asyncclick as click
|
|
6
6
|
|
|
7
|
-
from kasa import DeviceType, Module
|
|
7
|
+
from kasa import Device, DeviceType, Module
|
|
8
8
|
from kasa.smart import SmartChildDevice
|
|
9
9
|
|
|
10
10
|
from .common import (
|
|
@@ -21,7 +21,7 @@ def pretty_category(cat: str):
|
|
|
21
21
|
|
|
22
22
|
@click.group()
|
|
23
23
|
@pass_dev
|
|
24
|
-
async def hub(dev:
|
|
24
|
+
async def hub(dev: Device):
|
|
25
25
|
"""Commands controlling hub child device pairing."""
|
|
26
26
|
if dev.device_type is not DeviceType.Hub:
|
|
27
27
|
error(f"{dev} is not a hub.")
|
|
@@ -32,7 +32,7 @@ async def hub(dev: SmartDevice):
|
|
|
32
32
|
|
|
33
33
|
@hub.command(name="list")
|
|
34
34
|
@pass_dev
|
|
35
|
-
async def hub_list(dev:
|
|
35
|
+
async def hub_list(dev: Device):
|
|
36
36
|
"""List hub paired child devices."""
|
|
37
37
|
for c in dev.children:
|
|
38
38
|
echo(f"{c.device_id}: {c}")
|
|
@@ -40,7 +40,7 @@ async def hub_list(dev: SmartDevice):
|
|
|
40
40
|
|
|
41
41
|
@hub.command(name="supported")
|
|
42
42
|
@pass_dev
|
|
43
|
-
async def hub_supported(dev:
|
|
43
|
+
async def hub_supported(dev: Device):
|
|
44
44
|
"""List supported hub child device categories."""
|
|
45
45
|
cs = dev.modules[Module.ChildSetup]
|
|
46
46
|
|
|
@@ -51,7 +51,7 @@ async def hub_supported(dev: SmartDevice):
|
|
|
51
51
|
@hub.command(name="pair")
|
|
52
52
|
@click.option("--timeout", default=10)
|
|
53
53
|
@pass_dev
|
|
54
|
-
async def hub_pair(dev:
|
|
54
|
+
async def hub_pair(dev: Device, timeout: int):
|
|
55
55
|
"""Pair all pairable device.
|
|
56
56
|
|
|
57
57
|
This will pair any child devices currently in pairing mode.
|
|
@@ -312,7 +312,6 @@ async def cli(
|
|
|
312
312
|
if type == "camera":
|
|
313
313
|
encrypt_type = "AES"
|
|
314
314
|
https = True
|
|
315
|
-
login_version = 2
|
|
316
315
|
device_family = "SMART.IPCAMERA"
|
|
317
316
|
|
|
318
317
|
from kasa.device import Device
|
|
@@ -415,7 +414,7 @@ async def shell(dev: Device) -> None:
|
|
|
415
414
|
@click.argument("parameters", default=None, required=False)
|
|
416
415
|
async def raw_command(ctx, module, command, parameters):
|
|
417
416
|
"""Run a raw command on the device."""
|
|
418
|
-
logging.warning("Deprecated, use 'kasa command --module %s %s'", module, command)
|
|
417
|
+
logging.warning("Deprecated, use 'kasa command --module %s %s'", module, command) # noqa: LOG015
|
|
419
418
|
return await ctx.forward(cmd_command)
|
|
420
419
|
|
|
421
420
|
|
|
@@ -38,7 +38,7 @@ async def _schedule_list(dev, type):
|
|
|
38
38
|
async def delete_rule(dev, id):
|
|
39
39
|
"""Delete rule from device."""
|
|
40
40
|
schedule = dev.modules["schedule"]
|
|
41
|
-
rule_to_delete = next(filter(lambda rule:
|
|
41
|
+
rule_to_delete = next(filter(lambda rule: rule.id == id, schedule.rules), None)
|
|
42
42
|
if rule_to_delete:
|
|
43
43
|
echo(f"Deleting rule id {id}")
|
|
44
44
|
return await schedule.delete_rule(rule_to_delete)
|
|
@@ -6,6 +6,7 @@ import asyncclick as click
|
|
|
6
6
|
|
|
7
7
|
from kasa import (
|
|
8
8
|
Device,
|
|
9
|
+
KasaException,
|
|
9
10
|
)
|
|
10
11
|
|
|
11
12
|
from .common import (
|
|
@@ -15,8 +16,7 @@ from .common import (
|
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
@click.group()
|
|
18
|
-
|
|
19
|
-
def wifi(dev) -> None:
|
|
19
|
+
def wifi() -> None:
|
|
20
20
|
"""Commands to control wifi settings."""
|
|
21
21
|
|
|
22
22
|
|
|
@@ -35,13 +35,23 @@ async def scan(dev):
|
|
|
35
35
|
|
|
36
36
|
@wifi.command()
|
|
37
37
|
@click.argument("ssid")
|
|
38
|
-
@click.option(
|
|
38
|
+
@click.option(
|
|
39
|
+
"--keytype",
|
|
40
|
+
default="",
|
|
41
|
+
help="KeyType (Not needed for SmartCamDevice).",
|
|
42
|
+
)
|
|
39
43
|
@click.option("--password", prompt=True, hide_input=True)
|
|
40
44
|
@pass_dev
|
|
41
45
|
async def join(dev: Device, ssid: str, password: str, keytype: str):
|
|
42
46
|
"""Join the given wifi network."""
|
|
43
47
|
echo(f"Asking the device to connect to {ssid}..")
|
|
44
|
-
|
|
48
|
+
try:
|
|
49
|
+
res = await dev.wifi_join(ssid, password, keytype=keytype)
|
|
50
|
+
except KasaException as e:
|
|
51
|
+
if type(e) is KasaException:
|
|
52
|
+
echo(str(e))
|
|
53
|
+
return
|
|
54
|
+
raise
|
|
45
55
|
echo(
|
|
46
56
|
f"Response: {res} - if the device is not able to join the network, "
|
|
47
57
|
f"it will revert back to its previous state."
|