python-kasa 0.7.3__tar.gz → 0.7.4__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.7.3 → python_kasa-0.7.4}/CHANGELOG.md +107 -75
- {python_kasa-0.7.3 → python_kasa-0.7.4}/PKG-INFO +1 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/device.py +12 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/device.py +15 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotbulb.py +1 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotdevice.py +7 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/conftest.py +46 -0
- python_kasa-0.7.4/kasa/tests/fixtures/KL135(US)_1.0_1.0.15.json +93 -0
- python_kasa-0.7.4/kasa/tests/fixtures/KS200M(US)_1.0_1.0.12.json +96 -0
- python_kasa-0.7.4/kasa/tests/fixtures/smart/child/T110(EU)_1.0_1.9.0.json +511 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_bulb.py +2 -2
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_cli.py +16 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_common_modules.py +2 -2
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_device.py +1 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_discovery.py +8 -6
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_klapprotocol.py +1 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_protocol.py +1 -1
- {python_kasa-0.7.3 → python_kasa-0.7.4}/pyproject.toml +8 -3
- {python_kasa-0.7.3 → python_kasa-0.7.4}/.gitignore +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/LICENSE +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/README.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/README.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/bench/benchmark.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/bench/utils/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/bench/utils/data.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/bench/utils/original.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/create_module_fixtures.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/dump_devinfo.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/generate_supported.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/helpers/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/helpers/smartrequests.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/parse_pcap.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/parse_pcap_klap.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/devtools/perftest.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/Makefile +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/make.bat +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/SUPPORTED.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/_static/copybutton.js +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/cli.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/codeinfo.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/conf.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/contribute.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/deprecated.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/connect.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/device.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/discover.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/energy.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/feature.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/light.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/module.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides/strip.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/guides.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/index.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/library.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/reference.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartbulb.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartdevice.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartdimmer.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartlightstrip.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartplug.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/smartstrip.rst +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/topics.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/source/tutorial.md +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/docs/tutorial.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/aestransport.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/__main__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/common.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/discover.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/feature.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/lazygroup.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/light.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/main.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/schedule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/time.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/usage.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/cli/wifi.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/credentials.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/device_factory.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/device_type.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/deviceconfig.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/discover.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/emeterstatus.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/exceptions.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/feature.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/httpclient.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/energy.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/fan.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/led.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/light.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/lighteffect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/interfaces/lightpreset.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/effects.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotdimmer.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotlightstrip.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotmodule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotplug.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/iotstrip.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/ambientlight.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/antitheft.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/cloud.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/countdown.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/emeter.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/led.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/light.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/lighteffect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/lightpreset.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/motion.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/rulemodule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/schedule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/time.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iot/modules/usage.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/iotprotocol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/json.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/klaptransport.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/module.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/modulemapping.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/modulemapping.pyi +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/protocol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/py.typed +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/effects.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/alarm.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/autooff.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/batterysensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/brightness.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/childdevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/cloud.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/color.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/colortemperature.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/contactsensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/devicemodule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/energy.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/fan.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/firmware.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/frostprotection.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/humiditysensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/led.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/light.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/lighteffect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/lightpreset.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/lightstripeffect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/lighttransition.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/motionsensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/reportmode.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/temperaturecontrol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/temperaturesensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/time.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/modules/waterleaksensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/smartchilddevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/smartdevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smart/smartmodule.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/smartprotocol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/device_fixtures.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/discovery_fixtures.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fakeprotocol_iot.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fakeprotocol_smart.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtureinfo.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/EP40(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/ES20M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS100(UK)_1.0_1.2.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS100(US)_1.0_1.2.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS100(US)_2.0_1.5.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS103(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS103(US)_2.1_1.1.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS103(US)_2.1_1.1.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS105(US)_1.0_1.5.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS107(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS110(EU)_4.0_1.0.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS110(US)_1.0_1.2.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS200(US)_2.0_1.5.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS200(US)_5.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS210(US)_1.0_1.5.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS220(US)_1.0_1.5.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS220(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS300(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS300(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS300(US)_2.0_1.0.12.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/HS300(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL120(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL120(US)_1.0_1.8.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL125(US)_1.20_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL125(US)_2.0_1.0.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL125(US)_4.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL130(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL135(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL420L5(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL430(UN)_2.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL430(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL430(US)_2.0_1.0.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL430(US)_2.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL430(US)_2.0_1.0.9.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL50(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL60(UN)_1.0_1.1.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KL60(US)_1.0_1.1.13.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP115(US)_1.0_1.0.17.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP115(US)_1.0_1.0.21.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP125(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP200(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP303(US)_2.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP400(US)_1.0_1.0.10.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP400(US)_2.0_1.0.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP400(US)_3.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP400(US)_3.0_1.0.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP405(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KP405(US)_1.0_1.0.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KS200M(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KS200M(US)_1.0_1.0.8.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KS220M(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/KS230(US)_1.0_1.0.14.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/LB110(US)_1.0_1.8.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KH100(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KH100(EU)_1.0_1.5.12.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P100_1.0.0_1.1.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P100_1.0.0_1.3.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P100_1.0.0_1.4.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/features/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/features/test_brightness.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/features/test_colortemp.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/__init__.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_autooff.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_contact.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_fan.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_firmware.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_humidity.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_light_effect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_light_strip_effect.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_lighttransition.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_motionsensor.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_temperature.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_temperaturecontrol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/smart/modules/test_waterleak.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_aestransport.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_childdevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_device_factory.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_device_type.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_deviceconfig.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_dimmer.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_emeter.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_feature.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_httpclient.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_iotdevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_lightstrip.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_plug.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_readme_examples.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_smartdevice.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_smartprotocol.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_strip.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/tests/test_usage.py +0 -0
- {python_kasa-0.7.3 → python_kasa-0.7.4}/kasa/xortransport.py +0 -0
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.4](https://github.com/python-kasa/python-kasa/tree/0.7.4) (2024-09-27)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.3...0.7.4)
|
|
6
|
+
|
|
7
|
+
**Release summary:**
|
|
8
|
+
|
|
9
|
+
- KL135 color temp range corrected to 9000k max
|
|
10
|
+
- Minor enhancements and project maintenance
|
|
11
|
+
|
|
12
|
+
**Implemented enhancements:**
|
|
13
|
+
|
|
14
|
+
- Add factory\_reset\(\) to iotdevice [\#1125](https://github.com/python-kasa/python-kasa/pull/1125) (@rytilahti)
|
|
15
|
+
- Add reboot\(\) to the device interface [\#1124](https://github.com/python-kasa/python-kasa/pull/1124) (@rytilahti)
|
|
16
|
+
- Add factory-reset command to cli [\#1108](https://github.com/python-kasa/python-kasa/pull/1108) (@rytilahti)
|
|
17
|
+
|
|
18
|
+
**Fixed bugs:**
|
|
19
|
+
|
|
20
|
+
- Extend KL135 ct range up to 9000K [\#1123](https://github.com/python-kasa/python-kasa/pull/1123) (@rytilahti)
|
|
21
|
+
- Fix cli command for device off [\#1121](https://github.com/python-kasa/python-kasa/pull/1121) (@sdb9696)
|
|
22
|
+
|
|
23
|
+
**Project maintenance:**
|
|
24
|
+
|
|
25
|
+
- Use pytest-socket to ensure no tests are performing io [\#1133](https://github.com/python-kasa/python-kasa/pull/1133) (@sdb9696)
|
|
26
|
+
- Enable ruff lint pycodestyle warnings [\#1132](https://github.com/python-kasa/python-kasa/pull/1132) (@sdb9696)
|
|
27
|
+
- Add autouse fixture to patch asyncio.sleep [\#1131](https://github.com/python-kasa/python-kasa/pull/1131) (@sdb9696)
|
|
28
|
+
- Mock asyncio.sleep for klapprotocol tests [\#1130](https://github.com/python-kasa/python-kasa/pull/1130) (@rytilahti)
|
|
29
|
+
- Add fixture for T110 fw 1.9.0 [\#1129](https://github.com/python-kasa/python-kasa/pull/1129) (@rytilahti)
|
|
30
|
+
- Speed up and simplify github workflows [\#1128](https://github.com/python-kasa/python-kasa/pull/1128) (@sdb9696)
|
|
31
|
+
- Add KS200M\(US\) fw 1.0.12 fixture [\#1127](https://github.com/python-kasa/python-kasa/pull/1127) (@GatorEG)
|
|
32
|
+
- Add stale PR/Issue github workflow [\#1126](https://github.com/python-kasa/python-kasa/pull/1126) (@sdb9696)
|
|
33
|
+
- Add fixture for KL135\(US\) fw 1.0.15 [\#1122](https://github.com/python-kasa/python-kasa/pull/1122) (@rytilahti)
|
|
34
|
+
|
|
3
35
|
## [0.7.3](https://github.com/python-kasa/python-kasa/tree/0.7.3) (2024-09-10)
|
|
4
36
|
|
|
5
37
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.2...0.7.3)
|
|
6
38
|
|
|
7
|
-
**Release summary:**
|
|
8
|
-
|
|
9
|
-
- Migrate from `poetry` to `uv` for package/project management.
|
|
39
|
+
**Release summary:**
|
|
40
|
+
|
|
41
|
+
- Migrate from `poetry` to `uv` for package/project management.
|
|
10
42
|
- Various minor code improvements
|
|
11
43
|
|
|
12
44
|
**Project maintenance:**
|
|
@@ -21,9 +53,9 @@
|
|
|
21
53
|
|
|
22
54
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.1...0.7.2)
|
|
23
55
|
|
|
24
|
-
**Release summary:**
|
|
25
|
-
|
|
26
|
-
- **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature.
|
|
56
|
+
**Release summary:**
|
|
57
|
+
|
|
58
|
+
- **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature.
|
|
27
59
|
- Minor bugfixes and improvements.
|
|
28
60
|
|
|
29
61
|
**Breaking changes:**
|
|
@@ -54,9 +86,9 @@
|
|
|
54
86
|
|
|
55
87
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.5...0.7.1)
|
|
56
88
|
|
|
57
|
-
**Release highlights:**
|
|
58
|
-
- This release consists mainly of bugfixes and project improvements.
|
|
59
|
-
- There is also new support for Tapo T100 motion sensors.
|
|
89
|
+
**Release highlights:**
|
|
90
|
+
- This release consists mainly of bugfixes and project improvements.
|
|
91
|
+
- There is also new support for Tapo T100 motion sensors.
|
|
60
92
|
- The CLI now supports child devices on all applicable commands.
|
|
61
93
|
|
|
62
94
|
**Implemented enhancements:**
|
|
@@ -122,7 +154,7 @@ A critical bugfix for an issue with some L530 Series devices and a redactor for
|
|
|
122
154
|
|
|
123
155
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.3...0.7.0.4)
|
|
124
156
|
|
|
125
|
-
Critical bugfixes for issues with P100s and thermostats
|
|
157
|
+
Critical bugfixes for issues with P100s and thermostats
|
|
126
158
|
|
|
127
159
|
|
|
128
160
|
**Fixed bugs:**
|
|
@@ -136,7 +168,7 @@ Critical bugfixes for issues with P100s and thermostats
|
|
|
136
168
|
|
|
137
169
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.2...0.7.0.3)
|
|
138
170
|
|
|
139
|
-
Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
|
|
171
|
+
Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
|
|
140
172
|
Partially fixes light preset module errors with L920 and L930.
|
|
141
173
|
|
|
142
174
|
**Fixed bugs:**
|
|
@@ -191,25 +223,25 @@ This patch release fixes some minor issues found out during testing against all
|
|
|
191
223
|
|
|
192
224
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.2.1...0.7.0)
|
|
193
225
|
|
|
194
|
-
We have been working hard behind the scenes to make this major release possible.
|
|
195
|
-
This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
|
|
196
|
-
The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
|
|
197
|
-
|
|
198
|
-
With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
|
|
199
|
-
* Support for multi-functional devices like the dimmable fan KS240.
|
|
200
|
-
* Initial support for hubs and hub-connected devices like thermostats and sensors.
|
|
201
|
-
* Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
|
|
202
|
-
* Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
|
|
203
|
-
* The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
|
|
204
|
-
* Improved documentation.
|
|
205
|
-
|
|
206
|
-
Hope you enjoy the release, feel free to leave a comment and feedback!
|
|
207
|
-
|
|
208
|
-
If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
|
|
209
|
-
|
|
210
|
-
> git diff 0.6.2.1..HEAD|diffstat
|
|
211
|
-
> 214 files changed, 26960 insertions(+), 6310 deletions(-)
|
|
212
|
-
|
|
226
|
+
We have been working hard behind the scenes to make this major release possible.
|
|
227
|
+
This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
|
|
228
|
+
The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
|
|
229
|
+
|
|
230
|
+
With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
|
|
231
|
+
* Support for multi-functional devices like the dimmable fan KS240.
|
|
232
|
+
* Initial support for hubs and hub-connected devices like thermostats and sensors.
|
|
233
|
+
* Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
|
|
234
|
+
* Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
|
|
235
|
+
* The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
|
|
236
|
+
* Improved documentation.
|
|
237
|
+
|
|
238
|
+
Hope you enjoy the release, feel free to leave a comment and feedback!
|
|
239
|
+
|
|
240
|
+
If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
|
|
241
|
+
|
|
242
|
+
> git diff 0.6.2.1..HEAD|diffstat
|
|
243
|
+
> 214 files changed, 26960 insertions(+), 6310 deletions(-)
|
|
244
|
+
|
|
213
245
|
For more information on the changes please checkout our [documentation on the API changes](https://python-kasa.readthedocs.io/en/latest/deprecated.html)
|
|
214
246
|
|
|
215
247
|
**Breaking changes:**
|
|
@@ -441,8 +473,8 @@ For more information on the changes please checkout our [documentation on the AP
|
|
|
441
473
|
|
|
442
474
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.1...0.6.2)
|
|
443
475
|
|
|
444
|
-
Release highlights:
|
|
445
|
-
* Support for tapo power strips (P300)
|
|
476
|
+
Release highlights:
|
|
477
|
+
* Support for tapo power strips (P300)
|
|
446
478
|
* Performance improvements and bug fixes
|
|
447
479
|
|
|
448
480
|
**Implemented enhancements:**
|
|
@@ -481,9 +513,9 @@ Release highlights:
|
|
|
481
513
|
|
|
482
514
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.0.1...0.6.1)
|
|
483
515
|
|
|
484
|
-
Release highlights:
|
|
485
|
-
* Support for tapo wall switches
|
|
486
|
-
* Support for unprovisioned devices
|
|
516
|
+
Release highlights:
|
|
517
|
+
* Support for tapo wall switches
|
|
518
|
+
* Support for unprovisioned devices
|
|
487
519
|
* Performance and stability improvements
|
|
488
520
|
|
|
489
521
|
**Implemented enhancements:**
|
|
@@ -556,17 +588,17 @@ A patch release to improve the protocol handling.
|
|
|
556
588
|
|
|
557
589
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.4...0.6.0)
|
|
558
590
|
|
|
559
|
-
This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
|
|
560
|
-
|
|
561
|
-
This release adds support to a large range of previously unsupported devices, including:
|
|
562
|
-
|
|
563
|
-
* Newer kasa-branded devices, including Matter-enabled devices like KP125M
|
|
564
|
-
* Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
|
|
565
|
-
* Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
|
|
566
|
-
* UK variant of HS110, which was the first device using the new protocol
|
|
567
|
-
|
|
568
|
-
If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
|
|
569
|
-
|
|
591
|
+
This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
|
|
592
|
+
|
|
593
|
+
This release adds support to a large range of previously unsupported devices, including:
|
|
594
|
+
|
|
595
|
+
* Newer kasa-branded devices, including Matter-enabled devices like KP125M
|
|
596
|
+
* Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
|
|
597
|
+
* Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
|
|
598
|
+
* UK variant of HS110, which was the first device using the new protocol
|
|
599
|
+
|
|
600
|
+
If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
|
|
601
|
+
|
|
570
602
|
Special thanks goes to @SimonWilkinson who created the initial PR for the new communication protocol!
|
|
571
603
|
|
|
572
604
|
**Breaking changes:**
|
|
@@ -661,13 +693,13 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
|
|
|
661
693
|
|
|
662
694
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.3...0.5.4)
|
|
663
695
|
|
|
664
|
-
The highlights of this maintenance release:
|
|
665
|
-
|
|
666
|
-
* Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
|
|
667
|
-
* Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
|
|
668
|
-
* Optimizations for downstream device accesses, thanks to @bdraco.
|
|
669
|
-
* Support for both pydantic v1 and v2.
|
|
670
|
-
|
|
696
|
+
The highlights of this maintenance release:
|
|
697
|
+
|
|
698
|
+
* Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
|
|
699
|
+
* Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
|
|
700
|
+
* Optimizations for downstream device accesses, thanks to @bdraco.
|
|
701
|
+
* Support for both pydantic v1 and v2.
|
|
702
|
+
|
|
671
703
|
As always, see the full changelog for details.
|
|
672
704
|
|
|
673
705
|
**Implemented enhancements:**
|
|
@@ -727,8 +759,8 @@ This release adds support for defining the device port and introduces dependency
|
|
|
727
759
|
|
|
728
760
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.1...0.5.2)
|
|
729
761
|
|
|
730
|
-
Besides some small improvements, this release:
|
|
731
|
-
* Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
|
|
762
|
+
Besides some small improvements, this release:
|
|
763
|
+
* Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
|
|
732
764
|
* Drops Python 3.7 support as it is no longer maintained.
|
|
733
765
|
|
|
734
766
|
**Breaking changes:**
|
|
@@ -763,11 +795,11 @@ Besides some small improvements, this release:
|
|
|
763
795
|
|
|
764
796
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.0...0.5.1)
|
|
765
797
|
|
|
766
|
-
This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
|
|
767
|
-
* Improved console tool (JSON output, colorized output if rich is installed)
|
|
768
|
-
* Pretty, colorized console output, if `rich` is installed
|
|
769
|
-
* Support for configuring bulb presets
|
|
770
|
-
* Usage data is now reported in the expected format
|
|
798
|
+
This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
|
|
799
|
+
* Improved console tool (JSON output, colorized output if rich is installed)
|
|
800
|
+
* Pretty, colorized console output, if `rich` is installed
|
|
801
|
+
* Support for configuring bulb presets
|
|
802
|
+
* Usage data is now reported in the expected format
|
|
771
803
|
* Dependency pinning is relaxed to give downstreams more control
|
|
772
804
|
|
|
773
805
|
**Breaking changes:**
|
|
@@ -831,21 +863,21 @@ This minor release contains mostly small UX fine-tuning and documentation improv
|
|
|
831
863
|
|
|
832
864
|
[Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.3...0.5.0)
|
|
833
865
|
|
|
834
|
-
This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
|
|
835
|
-
|
|
836
|
-
There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
|
|
837
|
-
* Basic system info
|
|
838
|
-
* Emeter
|
|
839
|
-
* Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
|
|
840
|
-
* Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
|
|
841
|
-
* Countdown (new)
|
|
842
|
-
* Antitheft (new)
|
|
843
|
-
* Schedule (new)
|
|
844
|
-
* Motion - for configuring motion settings on some dimmers (new)
|
|
845
|
-
* Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
|
|
846
|
-
* Cloud - information about cloud connectivity (new)
|
|
847
|
-
|
|
848
|
-
For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
|
|
866
|
+
This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
|
|
867
|
+
|
|
868
|
+
There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
|
|
869
|
+
* Basic system info
|
|
870
|
+
* Emeter
|
|
871
|
+
* Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
|
|
872
|
+
* Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
|
|
873
|
+
* Countdown (new)
|
|
874
|
+
* Antitheft (new)
|
|
875
|
+
* Schedule (new)
|
|
876
|
+
* Motion - for configuring motion settings on some dimmers (new)
|
|
877
|
+
* Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
|
|
878
|
+
* Cloud - information about cloud connectivity (new)
|
|
879
|
+
|
|
880
|
+
For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
|
|
849
881
|
Pull requests improving the functionality of modules as well as adding better interfaces to device classes are welcome!
|
|
850
882
|
|
|
851
883
|
**Breaking changes:**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: python-kasa
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
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
|
|
@@ -99,7 +99,7 @@ async def on(dev: Device, transition: int):
|
|
|
99
99
|
return await dev.turn_on(transition=transition)
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
@
|
|
102
|
+
@device.command
|
|
103
103
|
@click.option("--transition", type=int, required=False)
|
|
104
104
|
@pass_dev_or_child
|
|
105
105
|
async def off(dev: Device, transition: int):
|
|
@@ -166,6 +166,17 @@ async def reboot(plug, delay):
|
|
|
166
166
|
return await plug.reboot(delay)
|
|
167
167
|
|
|
168
168
|
|
|
169
|
+
@device.command()
|
|
170
|
+
@pass_dev
|
|
171
|
+
async def factory_reset(plug):
|
|
172
|
+
"""Reset device to factory settings."""
|
|
173
|
+
click.confirm(
|
|
174
|
+
"Do you really want to reset the device to factory settings?", abort=True
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
return await plug.factory_reset()
|
|
178
|
+
|
|
179
|
+
|
|
169
180
|
@device.command()
|
|
170
181
|
@pass_dev
|
|
171
182
|
@click.option(
|
|
@@ -449,6 +449,21 @@ class Device(ABC):
|
|
|
449
449
|
async def set_alias(self, alias: str):
|
|
450
450
|
"""Set the device name (alias)."""
|
|
451
451
|
|
|
452
|
+
@abstractmethod
|
|
453
|
+
async def reboot(self, delay: int = 1) -> None:
|
|
454
|
+
"""Reboot the device.
|
|
455
|
+
|
|
456
|
+
Note that giving a delay of zero causes this to block,
|
|
457
|
+
as the device reboots immediately without responding to the call.
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
@abstractmethod
|
|
461
|
+
async def factory_reset(self) -> None:
|
|
462
|
+
"""Reset device back to factory settings.
|
|
463
|
+
|
|
464
|
+
Note, this does not downgrade the firmware.
|
|
465
|
+
"""
|
|
466
|
+
|
|
452
467
|
def __repr__(self):
|
|
453
468
|
if self._last_update is None:
|
|
454
469
|
return f"<{self.device_type} at {self.host} - update() needed>"
|
|
@@ -85,7 +85,7 @@ TPLINK_KELVIN = {
|
|
|
85
85
|
"KB130": ColorTempRange(2500, 9000),
|
|
86
86
|
"KL130": ColorTempRange(2500, 9000),
|
|
87
87
|
"KL125": ColorTempRange(2500, 6500),
|
|
88
|
-
"KL135": ColorTempRange(2500,
|
|
88
|
+
"KL135": ColorTempRange(2500, 9000),
|
|
89
89
|
r"KL120\(EU\)": ColorTempRange(2700, 6500),
|
|
90
90
|
r"KL120\(US\)": ColorTempRange(2700, 5000),
|
|
91
91
|
r"KL430": ColorTempRange(2500, 9000),
|
|
@@ -561,6 +561,13 @@ class IotDevice(Device):
|
|
|
561
561
|
"""
|
|
562
562
|
await self._query_helper("system", "reboot", {"delay": delay})
|
|
563
563
|
|
|
564
|
+
async def factory_reset(self) -> None:
|
|
565
|
+
"""Reset device back to factory settings.
|
|
566
|
+
|
|
567
|
+
Note, this does not downgrade the firmware.
|
|
568
|
+
"""
|
|
569
|
+
await self._query_helper("system", "reset")
|
|
570
|
+
|
|
564
571
|
async def turn_off(self, **kwargs) -> dict:
|
|
565
572
|
"""Turn off the device."""
|
|
566
573
|
raise NotImplementedError("Device subclass needs to implement this.")
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import asyncio
|
|
4
|
+
import sys
|
|
3
5
|
import warnings
|
|
4
6
|
from unittest.mock import MagicMock, patch
|
|
5
7
|
|
|
@@ -86,6 +88,11 @@ def pytest_addoption(parser):
|
|
|
86
88
|
def pytest_collection_modifyitems(config, items):
|
|
87
89
|
if not config.getoption("--ip"):
|
|
88
90
|
print("Testing against fixtures.")
|
|
91
|
+
# pytest_socket doesn't work properly in windows with asyncio
|
|
92
|
+
# fine to disable as other platforms will pickup any issues.
|
|
93
|
+
if sys.platform == "win32":
|
|
94
|
+
for item in items:
|
|
95
|
+
item.add_marker(pytest.mark.enable_socket)
|
|
89
96
|
else:
|
|
90
97
|
print("Running against ip %s" % config.getoption("--ip"))
|
|
91
98
|
requires_dummy = pytest.mark.skip(
|
|
@@ -94,6 +101,45 @@ def pytest_collection_modifyitems(config, items):
|
|
|
94
101
|
for item in items:
|
|
95
102
|
if "requires_dummy" in item.keywords:
|
|
96
103
|
item.add_marker(requires_dummy)
|
|
104
|
+
else:
|
|
105
|
+
item.add_marker(pytest.mark.enable_socket)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
@pytest.fixture(autouse=True, scope="session")
|
|
109
|
+
def asyncio_sleep_fixture(request): # noqa: PT004
|
|
110
|
+
"""Patch sleep to prevent tests actually waiting."""
|
|
111
|
+
orig_asyncio_sleep = asyncio.sleep
|
|
112
|
+
|
|
113
|
+
async def _asyncio_sleep(*_, **__):
|
|
114
|
+
await orig_asyncio_sleep(0)
|
|
115
|
+
|
|
116
|
+
if request.config.getoption("--ip"):
|
|
117
|
+
yield
|
|
118
|
+
else:
|
|
119
|
+
with patch("asyncio.sleep", side_effect=_asyncio_sleep):
|
|
120
|
+
yield
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
@pytest.fixture(autouse=True, scope="session")
|
|
124
|
+
def mock_datagram_endpoint(request): # noqa: PT004
|
|
125
|
+
"""Mock create_datagram_endpoint so it doesn't perform io."""
|
|
126
|
+
|
|
127
|
+
async def _create_datagram_endpoint(protocol_factory, *_, **__):
|
|
128
|
+
protocol = protocol_factory()
|
|
129
|
+
transport = MagicMock()
|
|
130
|
+
try:
|
|
131
|
+
return transport, protocol
|
|
132
|
+
finally:
|
|
133
|
+
protocol.connection_made(transport)
|
|
134
|
+
|
|
135
|
+
if request.config.getoption("--ip"):
|
|
136
|
+
yield
|
|
137
|
+
else:
|
|
138
|
+
with patch(
|
|
139
|
+
"asyncio.BaseEventLoop.create_datagram_endpoint",
|
|
140
|
+
side_effect=_create_datagram_endpoint,
|
|
141
|
+
):
|
|
142
|
+
yield
|
|
97
143
|
|
|
98
144
|
|
|
99
145
|
# allow mocks to be awaited
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"smartlife.iot.common.emeter": {
|
|
3
|
+
"get_realtime": {
|
|
4
|
+
"err_code": 0,
|
|
5
|
+
"power_mw": 0,
|
|
6
|
+
"total_wh": 25
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"smartlife.iot.smartbulb.lightingservice": {
|
|
10
|
+
"get_light_state": {
|
|
11
|
+
"dft_on_state": {
|
|
12
|
+
"brightness": 98,
|
|
13
|
+
"color_temp": 6500,
|
|
14
|
+
"hue": 28,
|
|
15
|
+
"mode": "normal",
|
|
16
|
+
"saturation": 72
|
|
17
|
+
},
|
|
18
|
+
"err_code": 0,
|
|
19
|
+
"on_off": 0
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"system": {
|
|
23
|
+
"get_sysinfo": {
|
|
24
|
+
"active_mode": "none",
|
|
25
|
+
"alias": "#MASKED_NAME#",
|
|
26
|
+
"ctrl_protocols": {
|
|
27
|
+
"name": "Linkie",
|
|
28
|
+
"version": "1.0"
|
|
29
|
+
},
|
|
30
|
+
"description": "Smart Wi-Fi LED Bulb with Color Changing",
|
|
31
|
+
"dev_state": "normal",
|
|
32
|
+
"deviceId": "0000000000000000000000000000000000000000",
|
|
33
|
+
"disco_ver": "1.0",
|
|
34
|
+
"err_code": 0,
|
|
35
|
+
"hwId": "00000000000000000000000000000000",
|
|
36
|
+
"hw_ver": "1.0",
|
|
37
|
+
"is_color": 1,
|
|
38
|
+
"is_dimmable": 1,
|
|
39
|
+
"is_factory": false,
|
|
40
|
+
"is_variable_color_temp": 1,
|
|
41
|
+
"latitude_i": 0,
|
|
42
|
+
"light_state": {
|
|
43
|
+
"dft_on_state": {
|
|
44
|
+
"brightness": 98,
|
|
45
|
+
"color_temp": 6500,
|
|
46
|
+
"hue": 28,
|
|
47
|
+
"mode": "normal",
|
|
48
|
+
"saturation": 72
|
|
49
|
+
},
|
|
50
|
+
"on_off": 0
|
|
51
|
+
},
|
|
52
|
+
"longitude_i": 0,
|
|
53
|
+
"mic_mac": "000000000000",
|
|
54
|
+
"mic_type": "IOT.SMARTBULB",
|
|
55
|
+
"model": "KL135(US)",
|
|
56
|
+
"obd_src": "tplink",
|
|
57
|
+
"oemId": "00000000000000000000000000000000",
|
|
58
|
+
"preferred_state": [
|
|
59
|
+
{
|
|
60
|
+
"brightness": 50,
|
|
61
|
+
"color_temp": 2700,
|
|
62
|
+
"hue": 0,
|
|
63
|
+
"index": 0,
|
|
64
|
+
"saturation": 0
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"brightness": 100,
|
|
68
|
+
"color_temp": 0,
|
|
69
|
+
"hue": 0,
|
|
70
|
+
"index": 1,
|
|
71
|
+
"saturation": 100
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"brightness": 100,
|
|
75
|
+
"color_temp": 0,
|
|
76
|
+
"hue": 120,
|
|
77
|
+
"index": 2,
|
|
78
|
+
"saturation": 100
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"brightness": 100,
|
|
82
|
+
"color_temp": 0,
|
|
83
|
+
"hue": 240,
|
|
84
|
+
"index": 3,
|
|
85
|
+
"saturation": 100
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"rssi": -41,
|
|
89
|
+
"status": "new",
|
|
90
|
+
"sw_ver": "1.0.15 Build 240429 Rel.154143"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"smartlife.iot.LAS": {
|
|
3
|
+
"get_config": {
|
|
4
|
+
"devs": [
|
|
5
|
+
{
|
|
6
|
+
"dark_index": 0,
|
|
7
|
+
"enable": 1,
|
|
8
|
+
"hw_id": 0,
|
|
9
|
+
"level_array": [
|
|
10
|
+
{
|
|
11
|
+
"adc": 390,
|
|
12
|
+
"name": "cloudy",
|
|
13
|
+
"value": 15
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"adc": 300,
|
|
17
|
+
"name": "overcast",
|
|
18
|
+
"value": 11
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"adc": 222,
|
|
22
|
+
"name": "dawn",
|
|
23
|
+
"value": 8
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"adc": 222,
|
|
27
|
+
"name": "twilight",
|
|
28
|
+
"value": 8
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"adc": 111,
|
|
32
|
+
"name": "total darkness",
|
|
33
|
+
"value": 4
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"adc": 2400,
|
|
37
|
+
"name": "custom",
|
|
38
|
+
"value": 94
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"max_adc": 2550,
|
|
42
|
+
"min_adc": 0
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"err_code": 0,
|
|
46
|
+
"ver": "1.0"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"smartlife.iot.PIR": {
|
|
50
|
+
"get_config": {
|
|
51
|
+
"array": [
|
|
52
|
+
80,
|
|
53
|
+
50,
|
|
54
|
+
20,
|
|
55
|
+
0
|
|
56
|
+
],
|
|
57
|
+
"cold_time": 600000,
|
|
58
|
+
"enable": 1,
|
|
59
|
+
"err_code": 0,
|
|
60
|
+
"max_adc": 4095,
|
|
61
|
+
"min_adc": 0,
|
|
62
|
+
"trigger_index": 1,
|
|
63
|
+
"version": "1.0"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"system": {
|
|
67
|
+
"get_sysinfo": {
|
|
68
|
+
"active_mode": "none",
|
|
69
|
+
"alias": "#MASKED_NAME#",
|
|
70
|
+
"dev_name": "Smart Light Switch with PIR",
|
|
71
|
+
"deviceId": "0000000000000000000000000000000000000000",
|
|
72
|
+
"err_code": 0,
|
|
73
|
+
"feature": "TIM",
|
|
74
|
+
"hwId": "00000000000000000000000000000000",
|
|
75
|
+
"hw_ver": "1.0",
|
|
76
|
+
"icon_hash": "",
|
|
77
|
+
"latitude_i": 0,
|
|
78
|
+
"led_off": 0,
|
|
79
|
+
"longitude_i": 0,
|
|
80
|
+
"mac": "98:25:4A:00:00:00",
|
|
81
|
+
"mic_type": "IOT.SMARTPLUGSWITCH",
|
|
82
|
+
"model": "KS200M(US)",
|
|
83
|
+
"next_action": {
|
|
84
|
+
"type": -1
|
|
85
|
+
},
|
|
86
|
+
"obd_src": "tplink",
|
|
87
|
+
"oemId": "00000000000000000000000000000000",
|
|
88
|
+
"on_time": 0,
|
|
89
|
+
"relay_state": 0,
|
|
90
|
+
"rssi": -55,
|
|
91
|
+
"status": "new",
|
|
92
|
+
"sw_ver": "1.0.12 Build 240507 Rel.143458",
|
|
93
|
+
"updating": 0
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|