python-kasa 0.10.0__tar.gz → 0.10.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.
Files changed (480) hide show
  1. {python_kasa-0.10.0 → python_kasa-0.10.1}/CHANGELOG.md +38 -16
  2. {python_kasa-0.10.0 → python_kasa-0.10.1}/PKG-INFO +1 -1
  3. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/energy.py +1 -1
  4. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/lighteffect.py +2 -1
  5. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotdimmer.py +2 -1
  6. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/__init__.py +2 -0
  7. python_kasa-0.10.1/kasa/iot/modules/dimmer.py +270 -0
  8. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/lighteffect.py +2 -11
  9. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/module.py +6 -0
  10. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/dustbin.py +10 -0
  11. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/lightstripeffect.py +3 -9
  12. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/smartmodule.py +7 -4
  13. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/alarm.py +13 -6
  14. {python_kasa-0.10.0 → python_kasa-0.10.1}/pyproject.toml +1 -1
  15. python_kasa-0.10.1/tests/iot/modules/test_dimmer.py +204 -0
  16. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/test_iotdevice.py +2 -2
  17. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_dustbin.py +19 -0
  18. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_fan.py +1 -1
  19. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/test_smartdevice.py +3 -3
  20. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_common_modules.py +61 -4
  21. {python_kasa-0.10.0 → python_kasa-0.10.1}/.gitignore +0 -0
  22. {python_kasa-0.10.0 → python_kasa-0.10.1}/LICENSE +0 -0
  23. {python_kasa-0.10.0 → python_kasa-0.10.1}/README.md +0 -0
  24. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/README.md +0 -0
  25. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/__init__.py +0 -0
  26. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/bench/benchmark.py +0 -0
  27. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/bench/utils/__init__.py +0 -0
  28. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/bench/utils/data.py +0 -0
  29. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/bench/utils/original.py +0 -0
  30. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/create_module_fixtures.py +0 -0
  31. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/dump_devinfo.py +0 -0
  32. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/generate_supported.py +0 -0
  33. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/helpers/__init__.py +0 -0
  34. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/helpers/smartcamrequests.py +0 -0
  35. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/helpers/smartrequests.py +0 -0
  36. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/parse_pcap.py +0 -0
  37. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/parse_pcap_klap.py +0 -0
  38. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/perftest.py +0 -0
  39. {python_kasa-0.10.0 → python_kasa-0.10.1}/devtools/update_fixtures.py +0 -0
  40. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/Makefile +0 -0
  41. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/make.bat +0 -0
  42. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/SUPPORTED.md +0 -0
  43. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/_static/copybutton.js +0 -0
  44. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/cli.rst +0 -0
  45. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/codeinfo.md +0 -0
  46. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/conf.py +0 -0
  47. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/contribute.md +0 -0
  48. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/deprecated.md +0 -0
  49. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/featureattributes.md +0 -0
  50. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/connect.md +0 -0
  51. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/device.md +0 -0
  52. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/discover.md +0 -0
  53. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/energy.md +0 -0
  54. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/feature.md +0 -0
  55. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/light.md +0 -0
  56. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/module.md +0 -0
  57. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides/strip.md +0 -0
  58. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/guides.md +0 -0
  59. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/index.md +0 -0
  60. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/library.md +0 -0
  61. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/reference.md +0 -0
  62. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartbulb.rst +0 -0
  63. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartdevice.rst +0 -0
  64. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartdimmer.rst +0 -0
  65. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartlightstrip.rst +0 -0
  66. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartplug.rst +0 -0
  67. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/smartstrip.rst +0 -0
  68. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/topics.md +0 -0
  69. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/source/tutorial.md +0 -0
  70. {python_kasa-0.10.0 → python_kasa-0.10.1}/docs/tutorial.py +0 -0
  71. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/__init__.py +0 -0
  72. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cachedzoneinfo.py +0 -0
  73. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/__init__.py +0 -0
  74. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/__main__.py +0 -0
  75. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/common.py +0 -0
  76. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/device.py +0 -0
  77. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/discover.py +0 -0
  78. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/feature.py +0 -0
  79. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/hub.py +0 -0
  80. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/lazygroup.py +0 -0
  81. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/light.py +0 -0
  82. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/main.py +0 -0
  83. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/schedule.py +0 -0
  84. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/time.py +0 -0
  85. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/usage.py +0 -0
  86. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/vacuum.py +0 -0
  87. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/cli/wifi.py +0 -0
  88. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/credentials.py +0 -0
  89. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/device.py +0 -0
  90. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/device_factory.py +0 -0
  91. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/device_type.py +0 -0
  92. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/deviceconfig.py +0 -0
  93. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/discover.py +0 -0
  94. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/emeterstatus.py +0 -0
  95. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/exceptions.py +0 -0
  96. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/feature.py +0 -0
  97. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/httpclient.py +0 -0
  98. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/__init__.py +0 -0
  99. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/alarm.py +0 -0
  100. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/childsetup.py +0 -0
  101. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/fan.py +0 -0
  102. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/led.py +0 -0
  103. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/light.py +0 -0
  104. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/lightpreset.py +0 -0
  105. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/thermostat.py +0 -0
  106. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/interfaces/time.py +0 -0
  107. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/__init__.py +0 -0
  108. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/effects.py +0 -0
  109. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotbulb.py +0 -0
  110. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotcamera.py +0 -0
  111. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotdevice.py +0 -0
  112. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotlightstrip.py +0 -0
  113. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotmodule.py +0 -0
  114. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotplug.py +0 -0
  115. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iotstrip.py +0 -0
  116. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/iottimezone.py +0 -0
  117. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/ambientlight.py +0 -0
  118. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/antitheft.py +0 -0
  119. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/cloud.py +0 -0
  120. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/countdown.py +0 -0
  121. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/emeter.py +0 -0
  122. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/led.py +0 -0
  123. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/light.py +0 -0
  124. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/lightpreset.py +0 -0
  125. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/motion.py +0 -0
  126. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/rulemodule.py +0 -0
  127. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/schedule.py +0 -0
  128. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/time.py +0 -0
  129. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/iot/modules/usage.py +0 -0
  130. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/json.py +0 -0
  131. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/modulemapping.py +0 -0
  132. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/modulemapping.pyi +0 -0
  133. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/protocols/__init__.py +0 -0
  134. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/protocols/iotprotocol.py +0 -0
  135. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/protocols/protocol.py +0 -0
  136. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/protocols/smartcamprotocol.py +0 -0
  137. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/protocols/smartprotocol.py +0 -0
  138. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/py.typed +0 -0
  139. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/__init__.py +0 -0
  140. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/effects.py +0 -0
  141. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/__init__.py +0 -0
  142. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/alarm.py +0 -0
  143. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/autooff.py +0 -0
  144. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/batterysensor.py +0 -0
  145. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/brightness.py +0 -0
  146. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/childdevice.py +0 -0
  147. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/childlock.py +0 -0
  148. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/childprotection.py +0 -0
  149. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/childsetup.py +0 -0
  150. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/clean.py +0 -0
  151. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/cleanrecords.py +0 -0
  152. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/cloud.py +0 -0
  153. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/color.py +0 -0
  154. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/colortemperature.py +0 -0
  155. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/consumables.py +0 -0
  156. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/contactsensor.py +0 -0
  157. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/devicemodule.py +0 -0
  158. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/energy.py +0 -0
  159. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/fan.py +0 -0
  160. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/firmware.py +0 -0
  161. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/frostprotection.py +0 -0
  162. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/homekit.py +0 -0
  163. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/humiditysensor.py +0 -0
  164. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/led.py +0 -0
  165. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/light.py +0 -0
  166. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/lighteffect.py +0 -0
  167. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/lightpreset.py +0 -0
  168. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/lighttransition.py +0 -0
  169. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/matter.py +0 -0
  170. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/mop.py +0 -0
  171. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/motionsensor.py +0 -0
  172. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/overheatprotection.py +0 -0
  173. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/powerprotection.py +0 -0
  174. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/reportmode.py +0 -0
  175. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/speaker.py +0 -0
  176. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/temperaturecontrol.py +0 -0
  177. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/temperaturesensor.py +0 -0
  178. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/thermostat.py +0 -0
  179. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/time.py +0 -0
  180. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/triggerlogs.py +0 -0
  181. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/modules/waterleaksensor.py +0 -0
  182. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/smartchilddevice.py +0 -0
  183. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smart/smartdevice.py +0 -0
  184. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/__init__.py +0 -0
  185. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/__init__.py +0 -0
  186. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/babycrydetection.py +0 -0
  187. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/battery.py +0 -0
  188. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/camera.py +0 -0
  189. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/childdevice.py +0 -0
  190. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/childsetup.py +0 -0
  191. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/device.py +0 -0
  192. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/homekit.py +0 -0
  193. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/led.py +0 -0
  194. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/lensmask.py +0 -0
  195. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/matter.py +0 -0
  196. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/motiondetection.py +0 -0
  197. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/pantilt.py +0 -0
  198. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/persondetection.py +0 -0
  199. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/petdetection.py +0 -0
  200. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/tamperdetection.py +0 -0
  201. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/modules/time.py +0 -0
  202. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/smartcamchild.py +0 -0
  203. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/smartcamdevice.py +0 -0
  204. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/smartcam/smartcammodule.py +0 -0
  205. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/__init__.py +0 -0
  206. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/aestransport.py +0 -0
  207. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/basetransport.py +0 -0
  208. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/klaptransport.py +0 -0
  209. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/linkietransport.py +0 -0
  210. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/sslaestransport.py +0 -0
  211. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/ssltransport.py +0 -0
  212. {python_kasa-0.10.0 → python_kasa-0.10.1}/kasa/transports/xortransport.py +0 -0
  213. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/__init__.py +0 -0
  214. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/cli/__init__.py +0 -0
  215. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/cli/test_hub.py +0 -0
  216. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/cli/test_vacuum.py +0 -0
  217. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/conftest.py +0 -0
  218. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/device_fixtures.py +0 -0
  219. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/discovery_fixtures.py +0 -0
  220. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fakeprotocol_iot.py +0 -0
  221. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fakeprotocol_smart.py +0 -0
  222. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fakeprotocol_smartcam.py +0 -0
  223. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtureinfo.py +0 -0
  224. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/EP10(US)_1.0_1.0.2.json +0 -0
  225. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/EP40(US)_1.0_1.0.2.json +0 -0
  226. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.11.json +0 -0
  227. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/ES20M(US)_1.0_1.0.8.json +0 -0
  228. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS100(UK)_1.0_1.2.6.json +0 -0
  229. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS100(UK)_4.1_1.1.0.json +0 -0
  230. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS100(US)_1.0_1.2.5.json +0 -0
  231. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS100(US)_2.0_1.5.6.json +0 -0
  232. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS103(US)_1.0_1.5.7.json +0 -0
  233. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.2.json +0 -0
  234. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS103(US)_2.1_1.1.4.json +0 -0
  235. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS105(US)_1.0_1.5.6.json +0 -0
  236. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS107(US)_1.0_1.0.8.json +0 -0
  237. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS110(EU)_1.0_1.2.5.json +0 -0
  238. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS110(EU)_4.0_1.0.4.json +0 -0
  239. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS110(US)_1.0_1.2.6.json +0 -0
  240. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS200(US)_2.0_1.5.7.json +0 -0
  241. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS200(US)_3.0_1.1.5.json +0 -0
  242. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.11.json +0 -0
  243. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS200(US)_5.0_1.0.2.json +0 -0
  244. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS210(US)_1.0_1.5.8.json +0 -0
  245. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS210(US)_2.0_1.1.5.json +0 -0
  246. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS210(US)_3.0_1.0.10.json +0 -0
  247. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS220(US)_1.0_1.5.7.json +0 -0
  248. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS220(US)_2.0_1.0.3.json +0 -0
  249. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.10.json +0 -0
  250. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS300(US)_1.0_1.0.21.json +0 -0
  251. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.12.json +0 -0
  252. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/HS300(US)_2.0_1.0.3.json +0 -0
  253. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL110(US)_1.0_1.8.11.json +0 -0
  254. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.11.json +0 -0
  255. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL120(US)_1.0_1.8.6.json +0 -0
  256. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL125(US)_1.20_1.0.5.json +0 -0
  257. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL125(US)_2.0_1.0.7.json +0 -0
  258. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL125(US)_4.0_1.0.5.json +0 -0
  259. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL130(EU)_1.0_1.8.8.json +0 -0
  260. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL130(US)_1.0_1.8.11.json +0 -0
  261. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.15.json +0 -0
  262. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL135(US)_1.0_1.0.6.json +0 -0
  263. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.5.json +0 -0
  264. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL400L5(US)_1.0_1.0.8.json +0 -0
  265. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL420L5(US)_1.0_1.0.2.json +0 -0
  266. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL430(UN)_2.0_1.0.8.json +0 -0
  267. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL430(US)_1.0_1.0.10.json +0 -0
  268. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.11.json +0 -0
  269. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.8.json +0 -0
  270. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL430(US)_2.0_1.0.9.json +0 -0
  271. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL50(US)_1.0_1.1.13.json +0 -0
  272. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL60(UN)_1.0_1.1.4.json +0 -0
  273. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KL60(US)_1.0_1.1.13.json +0 -0
  274. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP100(US)_3.0_1.0.1.json +0 -0
  275. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.5.json +0 -0
  276. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP105(UK)_1.0_1.0.7.json +0 -0
  277. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP115(EU)_1.0_1.0.16.json +0 -0
  278. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.17.json +0 -0
  279. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP115(US)_1.0_1.0.21.json +0 -0
  280. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP125(US)_1.0_1.0.6.json +0 -0
  281. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP200(US)_3.0_1.0.3.json +0 -0
  282. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP303(UK)_1.0_1.0.3.json +0 -0
  283. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.3.json +0 -0
  284. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP303(US)_2.0_1.0.9.json +0 -0
  285. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP400(US)_1.0_1.0.10.json +0 -0
  286. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP400(US)_2.0_1.0.6.json +0 -0
  287. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.3.json +0 -0
  288. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP400(US)_3.0_1.0.4.json +0 -0
  289. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP401(US)_1.0_1.0.0.json +0 -0
  290. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.5.json +0 -0
  291. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KP405(US)_1.0_1.0.6.json +0 -0
  292. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS200(US)_1.0_1.0.8.json +0 -0
  293. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.10.json +0 -0
  294. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.11.json +0 -0
  295. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.12.json +0 -0
  296. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS200M(US)_1.0_1.0.8.json +0 -0
  297. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS220(US)_1.0_1.0.13.json +0 -0
  298. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS220M(US)_1.0_1.0.4.json +0 -0
  299. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS230(US)_1.0_1.0.14.json +0 -0
  300. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/KS230(US)_2.0_1.0.11.json +0 -0
  301. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iot/LB110(US)_1.0_1.8.11.json +0 -0
  302. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/iotcam/EC60(US)_4.0_2.3.22.json +0 -0
  303. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/serialization/deviceconfig_camera-aes-https.json +0 -0
  304. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/serialization/deviceconfig_plug-klap.json +0 -0
  305. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/serialization/deviceconfig_plug-xor.json +0 -0
  306. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/D100C(US)_1.0_1.1.3.json +0 -0
  307. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
  308. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
  309. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/EP40M(US)_1.0_1.1.0.json +0 -0
  310. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
  311. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
  312. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
  313. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/HS200(US)_5.26_1.0.3.json +0 -0
  314. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +0 -0
  315. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KH100(EU)_1.0_1.2.3.json +0 -0
  316. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KH100(EU)_1.0_1.5.12.json +0 -0
  317. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
  318. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
  319. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KP125M(US)_1.0_1.2.3.json +0 -0
  320. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
  321. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +0 -0
  322. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
  323. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +0 -0
  324. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
  325. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
  326. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/KS240(US)_1.0_1.0.7.json +0 -0
  327. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
  328. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
  329. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
  330. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
  331. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
  332. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
  333. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
  334. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L630(EU)_1.0_1.1.2.json +0 -0
  335. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
  336. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
  337. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
  338. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
  339. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
  340. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +0 -0
  341. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
  342. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
  343. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
  344. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P100(US)_1.0.0_1.1.3.json +0 -0
  345. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P100(US)_1.0.0_1.3.7.json +0 -0
  346. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P100(US)_1.0.0_1.4.0.json +0 -0
  347. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
  348. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
  349. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
  350. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P110M(AU)_1.0_1.2.3.json +0 -0
  351. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P110M(EU)_1.0_1.2.3.json +0 -0
  352. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
  353. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P115(US)_1.0_1.1.3.json +0 -0
  354. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
  355. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
  356. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P135(US)_1.0_1.2.0.json +0 -0
  357. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P210M(US)_1.0_1.0.3.json +0 -0
  358. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
  359. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
  360. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
  361. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P304M(UK)_1.0_1.0.3.json +0 -0
  362. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/P306(US)_1.0_1.1.2.json +0 -0
  363. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/RV20 Max Plus(EU)_1.0_1.0.7.json +0 -0
  364. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/RV30 Max(US)_1.0_1.2.0.json +0 -0
  365. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
  366. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
  367. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
  368. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
  369. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
  370. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
  371. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
  372. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
  373. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S200B(EU)_1.0_1.11.0.json +0 -0
  374. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S200B(US)_1.0_1.12.0.json +0 -0
  375. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.11.0.json +0 -0
  376. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S200D(EU)_1.0_1.12.0.json +0 -0
  377. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S210(EU)_1.0_1.9.0.json +0 -0
  378. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/S220(EU)_1.0_1.9.0.json +0 -0
  379. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +0 -0
  380. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
  381. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T110(EU)_1.0_1.9.0.json +0 -0
  382. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T110(US)_1.0_1.9.0.json +0 -0
  383. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
  384. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
  385. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T310(US)_1.0_1.5.0.json +0 -0
  386. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
  387. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smart/child/T315(US)_1.0_1.8.0.json +0 -0
  388. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C100_4.0_1.3.14.json +0 -0
  389. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.2.json +0 -0
  390. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C210(EU)_2.0_1.4.3.json +0 -0
  391. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C210_2.0_1.3.11.json +0 -0
  392. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C220(EU)_1.0_1.2.2.json +0 -0
  393. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C225(US)_2.0_1.0.11.json +0 -0
  394. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C325WB(EU)_1.0_1.1.17.json +0 -0
  395. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C520WS(US)_1.0_1.2.8.json +0 -0
  396. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/C720(US)_1.0_1.2.3.json +0 -0
  397. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/D130(US)_1.0_1.1.9.json +0 -0
  398. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.2.json +0 -0
  399. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/H200(EU)_1.0_1.3.6.json +0 -0
  400. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/H200(US)_1.0_1.3.6.json +0 -0
  401. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/TC65_1.0_1.3.9.json +0 -0
  402. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/TC70_3.0_1.3.11.json +0 -0
  403. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/fixtures/smartcam/child/D230(EU)_1.20_1.1.19.json +0 -0
  404. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/__init__.py +0 -0
  405. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/__init__.py +0 -0
  406. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_ambientlight.py +0 -0
  407. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_cloud.py +0 -0
  408. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_emeter.py +0 -0
  409. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_motion.py +0 -0
  410. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_schedule.py +0 -0
  411. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/modules/test_usage.py +0 -0
  412. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/test_iotbulb.py +0 -0
  413. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/test_iotdimmer.py +0 -0
  414. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/test_iotlightstrip.py +0 -0
  415. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/iot/test_wallswitch.py +0 -0
  416. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/protocols/__init__.py +0 -0
  417. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/protocols/test_iotprotocol.py +0 -0
  418. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/protocols/test_smartprotocol.py +0 -0
  419. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/__init__.py +0 -0
  420. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/features/__init__.py +0 -0
  421. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/features/test_brightness.py +0 -0
  422. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/features/test_colortemp.py +0 -0
  423. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/__init__.py +0 -0
  424. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_alarm.py +0 -0
  425. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_autooff.py +0 -0
  426. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_childlock.py +0 -0
  427. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_childprotection.py +0 -0
  428. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_childsetup.py +0 -0
  429. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_clean.py +0 -0
  430. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_cleanrecords.py +0 -0
  431. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_consumables.py +0 -0
  432. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_contact.py +0 -0
  433. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_energy.py +0 -0
  434. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_firmware.py +0 -0
  435. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_homekit.py +0 -0
  436. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_humidity.py +0 -0
  437. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_light_effect.py +0 -0
  438. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_light_strip_effect.py +0 -0
  439. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_lighttransition.py +0 -0
  440. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_matter.py +0 -0
  441. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_mop.py +0 -0
  442. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_motionsensor.py +0 -0
  443. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_powerprotection.py +0 -0
  444. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_speaker.py +0 -0
  445. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_temperature.py +0 -0
  446. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_temperaturecontrol.py +0 -0
  447. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_triggerlogs.py +0 -0
  448. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smart/modules/test_waterleak.py +0 -0
  449. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/__init__.py +0 -0
  450. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/__init__.py +0 -0
  451. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_alarm.py +0 -0
  452. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_babycrydetection.py +0 -0
  453. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_battery.py +0 -0
  454. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_camera.py +0 -0
  455. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_childsetup.py +0 -0
  456. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_motiondetection.py +0 -0
  457. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_persondetection.py +0 -0
  458. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_petdetection.py +0 -0
  459. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/modules/test_tamperdetection.py +0 -0
  460. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/smartcam/test_smartcamdevice.py +0 -0
  461. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_bulb.py +0 -0
  462. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_childdevice.py +0 -0
  463. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_cli.py +0 -0
  464. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_device.py +0 -0
  465. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_device_factory.py +0 -0
  466. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_device_type.py +0 -0
  467. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_deviceconfig.py +0 -0
  468. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_devtools.py +0 -0
  469. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_discovery.py +0 -0
  470. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_feature.py +0 -0
  471. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_httpclient.py +0 -0
  472. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_plug.py +0 -0
  473. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_readme_examples.py +0 -0
  474. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/test_strip.py +0 -0
  475. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/__init__.py +0 -0
  476. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/test_aestransport.py +0 -0
  477. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/test_klaptransport.py +0 -0
  478. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/test_linkietransport.py +0 -0
  479. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/test_sslaestransport.py +0 -0
  480. {python_kasa-0.10.0 → python_kasa-0.10.1}/tests/transports/test_ssltransport.py +0 -0
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.1](https://github.com/python-kasa/python-kasa/tree/0.10.1) (2025-02-02)
4
+
5
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.10.0...0.10.1)
6
+
7
+ **Release summary:**
8
+
9
+ Small patch release for bugfixes
10
+
11
+ **Implemented enhancements:**
12
+
13
+ - dustbin\_mode: add 'off' mode for cleaner downstream impl [\#1488](https://github.com/python-kasa/python-kasa/pull/1488) (@rytilahti)
14
+ - Add Dimmer Configuration Support [\#1484](https://github.com/python-kasa/python-kasa/pull/1484) (@ryenitcher)
15
+
16
+ **Fixed bugs:**
17
+
18
+ - Do not return empty string for custom light effect name [\#1491](https://github.com/python-kasa/python-kasa/pull/1491) (@sdb9696)
19
+ - Add FeatureAttributes to smartcam Alarm [\#1489](https://github.com/python-kasa/python-kasa/pull/1489) (@sdb9696)
20
+
21
+ **Project maintenance:**
22
+
23
+ - Add module.device to the public api [\#1478](https://github.com/python-kasa/python-kasa/pull/1478) (@sdb9696)
24
+
3
25
  ## [0.10.0](https://github.com/python-kasa/python-kasa/tree/0.10.0) (2025-01-26)
4
26
 
5
27
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.9.1...0.10.0)
@@ -31,11 +53,7 @@ Many thanks to testers and new contributors - @steveredden, @DawidPietrykowski,
31
53
 
32
54
  - Expose more battery sensors for D230 [\#1451](https://github.com/python-kasa/python-kasa/issues/1451)
33
55
  - dumping HTTP POST Body for Tapo Vacuum \(RV30 Plus\) [\#937](https://github.com/python-kasa/python-kasa/issues/937)
34
- - Add common alarm interface [\#1479](https://github.com/python-kasa/python-kasa/pull/1479) (@sdb9696)
35
- - Add common childsetup interface [\#1470](https://github.com/python-kasa/python-kasa/pull/1470) (@sdb9696)
36
- - Add childsetup module to smartcam hubs [\#1469](https://github.com/python-kasa/python-kasa/pull/1469) (@sdb9696)
37
56
  - Add smartcam pet detection toggle module [\#1465](https://github.com/python-kasa/python-kasa/pull/1465) (@DawidPietrykowski)
38
- - Only log one warning per unknown clean error code and status [\#1462](https://github.com/python-kasa/python-kasa/pull/1462) (@rytilahti)
39
57
  - Add childlock module for vacuums [\#1461](https://github.com/python-kasa/python-kasa/pull/1461) (@rytilahti)
40
58
  - Add ultra mode \(fanspeed = 5\) for vacuums [\#1459](https://github.com/python-kasa/python-kasa/pull/1459) (@rytilahti)
41
59
  - Add setting to change carpet clean mode [\#1458](https://github.com/python-kasa/python-kasa/pull/1458) (@rytilahti)
@@ -46,49 +64,53 @@ Many thanks to testers and new contributors - @steveredden, @DawidPietrykowski,
46
64
  - Add battery module to smartcam devices [\#1452](https://github.com/python-kasa/python-kasa/pull/1452) (@sdb9696)
47
65
  - Allow update of camera modules after setting values [\#1450](https://github.com/python-kasa/python-kasa/pull/1450) (@sdb9696)
48
66
  - Update hub children on first update and delay subsequent updates [\#1438](https://github.com/python-kasa/python-kasa/pull/1438) (@sdb9696)
49
- - Add support for doorbells and chimes [\#1435](https://github.com/python-kasa/python-kasa/pull/1435) (@steveredden)
50
67
  - Implement vacuum dustbin module \(dust\_bucket\) [\#1423](https://github.com/python-kasa/python-kasa/pull/1423) (@rytilahti)
51
- - Allow https for klaptransport [\#1415](https://github.com/python-kasa/python-kasa/pull/1415) (@rytilahti)
52
68
  - Add smartcam child device support for smartcam hubs [\#1413](https://github.com/python-kasa/python-kasa/pull/1413) (@sdb9696)
53
- - Add powerprotection module [\#1337](https://github.com/python-kasa/python-kasa/pull/1337) (@rytilahti)
54
69
  - Add vacuum speaker controls [\#1332](https://github.com/python-kasa/python-kasa/pull/1332) (@rytilahti)
55
70
  - Add consumables module for vacuums [\#1327](https://github.com/python-kasa/python-kasa/pull/1327) (@rytilahti)
56
71
  - Add ADC Value to PIR Enabled Switches [\#1263](https://github.com/python-kasa/python-kasa/pull/1263) (@ryenitcher)
57
72
  - Add support for cleaning records [\#945](https://github.com/python-kasa/python-kasa/pull/945) (@rytilahti)
58
73
  - Initial support for vacuums \(clean module\) [\#944](https://github.com/python-kasa/python-kasa/pull/944) (@rytilahti)
59
74
  - Add support for pairing devices with hubs [\#859](https://github.com/python-kasa/python-kasa/pull/859) (@rytilahti)
75
+ - Add common alarm interface [\#1479](https://github.com/python-kasa/python-kasa/pull/1479) (@sdb9696)
76
+ - Add common childsetup interface [\#1470](https://github.com/python-kasa/python-kasa/pull/1470) (@sdb9696)
77
+ - Add childsetup module to smartcam hubs [\#1469](https://github.com/python-kasa/python-kasa/pull/1469) (@sdb9696)
78
+ - Only log one warning per unknown clean error code and status [\#1462](https://github.com/python-kasa/python-kasa/pull/1462) (@rytilahti)
79
+ - Add support for doorbells and chimes [\#1435](https://github.com/python-kasa/python-kasa/pull/1435) (@steveredden)
80
+ - Allow https for klaptransport [\#1415](https://github.com/python-kasa/python-kasa/pull/1415) (@rytilahti)
81
+ - Add powerprotection module [\#1337](https://github.com/python-kasa/python-kasa/pull/1337) (@rytilahti)
60
82
 
61
83
  **Fixed bugs:**
62
84
 
63
85
  - TP-Link HS300 Wi-Fi Power-Strip - "Parent On/Off" not functioning. [\#637](https://github.com/python-kasa/python-kasa/issues/637)
64
- - Convert carpet\_clean\_mode to carpet\_boost switch [\#1486](https://github.com/python-kasa/python-kasa/pull/1486) (@rytilahti)
65
- - Change category for empty dustbin feature from Primary to Config [\#1485](https://github.com/python-kasa/python-kasa/pull/1485) (@rytilahti)
66
86
  - Report 0 for instead of None for zero current and voltage [\#1483](https://github.com/python-kasa/python-kasa/pull/1483) (@ryenitcher)
67
- - Disable iot camera creation until more complete [\#1480](https://github.com/python-kasa/python-kasa/pull/1480) (@sdb9696)
68
87
  - ssltransport: use debug logger for sending requests [\#1443](https://github.com/python-kasa/python-kasa/pull/1443) (@rytilahti)
69
88
  - Fix discover cli command with host [\#1437](https://github.com/python-kasa/python-kasa/pull/1437) (@sdb9696)
70
89
  - Fallback to is\_low for batterysensor's battery\_low [\#1420](https://github.com/python-kasa/python-kasa/pull/1420) (@rytilahti)
90
+ - Convert carpet\_clean\_mode to carpet\_boost switch [\#1486](https://github.com/python-kasa/python-kasa/pull/1486) (@rytilahti)
91
+ - Change category for empty dustbin feature from Primary to Config [\#1485](https://github.com/python-kasa/python-kasa/pull/1485) (@rytilahti)
92
+ - Disable iot camera creation until more complete [\#1480](https://github.com/python-kasa/python-kasa/pull/1480) (@sdb9696)
93
+ - Add error code 7 for clean module [\#1474](https://github.com/python-kasa/python-kasa/pull/1474) (@rytilahti)
71
94
  - Fix iot strip turn on and off from parent [\#639](https://github.com/python-kasa/python-kasa/pull/639) (@Obbay2)
72
95
 
73
96
  **Added support for devices:**
74
97
 
75
- - Add D130\(US\) 1.0 1.1.9 fixture [\#1476](https://github.com/python-kasa/python-kasa/pull/1476) (@sdb9696)
76
- - Add D100C\(US\) 1.0 1.1.3 fixture [\#1475](https://github.com/python-kasa/python-kasa/pull/1475) (@sdb9696)
77
98
  - Add C220\(EU\) 1.0 1.2.2 camera fixture [\#1466](https://github.com/python-kasa/python-kasa/pull/1466) (@DawidPietrykowski)
78
99
  - Add D230\(EU\) 1.20 1.1.19 fixture [\#1448](https://github.com/python-kasa/python-kasa/pull/1448) (@sdb9696)
79
100
  - Add fixture for C720 camera [\#1433](https://github.com/python-kasa/python-kasa/pull/1433) (@steveredden)
101
+ - Add D130\(US\) 1.0 1.1.9 fixture [\#1476](https://github.com/python-kasa/python-kasa/pull/1476) (@sdb9696)
102
+ - Add D100C\(US\) 1.0 1.1.3 fixture [\#1475](https://github.com/python-kasa/python-kasa/pull/1475) (@sdb9696)
80
103
 
81
104
  **Project maintenance:**
82
105
 
83
- - Update ruff to 0.9 [\#1482](https://github.com/python-kasa/python-kasa/pull/1482) (@sdb9696)
84
- - Cancel in progress CI workflows after new pushes [\#1481](https://github.com/python-kasa/python-kasa/pull/1481) (@sdb9696)
85
- - Update test framework to support smartcam device discovery. [\#1477](https://github.com/python-kasa/python-kasa/pull/1477) (@sdb9696)
86
- - Add error code 7 for clean module [\#1474](https://github.com/python-kasa/python-kasa/pull/1474) (@rytilahti)
87
106
  - Enable CI workflow on PRs to feat/ fix/ and janitor/ [\#1471](https://github.com/python-kasa/python-kasa/pull/1471) (@sdb9696)
88
107
  - Add commit-hook to prettify JSON files [\#1455](https://github.com/python-kasa/python-kasa/pull/1455) (@rytilahti)
89
108
  - Add required sphinx.configuration [\#1446](https://github.com/python-kasa/python-kasa/pull/1446) (@rytilahti)
90
109
  - Add more redactors for smartcams [\#1439](https://github.com/python-kasa/python-kasa/pull/1439) (@sdb9696)
91
110
  - Add KS230\(US\) 2.0 1.0.11 IOT Fixture [\#1430](https://github.com/python-kasa/python-kasa/pull/1430) (@ZeliardM)
111
+ - Update ruff to 0.9 [\#1482](https://github.com/python-kasa/python-kasa/pull/1482) (@sdb9696)
112
+ - Cancel in progress CI workflows after new pushes [\#1481](https://github.com/python-kasa/python-kasa/pull/1481) (@sdb9696)
113
+ - Update test framework to support smartcam device discovery. [\#1477](https://github.com/python-kasa/python-kasa/pull/1477) (@sdb9696)
92
114
  - Add tests for dump\_devinfo parent/child smartcam fixture generation [\#1428](https://github.com/python-kasa/python-kasa/pull/1428) (@sdb9696)
93
115
  - Raise errors on single smartcam child requests [\#1427](https://github.com/python-kasa/python-kasa/pull/1427) (@sdb9696)
94
116
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-kasa
3
- Version: 0.10.0
3
+ Version: 0.10.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
@@ -28,7 +28,7 @@ class Energy(Module, ABC):
28
28
 
29
29
  _supported: ModuleFeature = ModuleFeature(0)
30
30
 
31
- def supports(self, module_feature: ModuleFeature) -> bool:
31
+ def supports(self, module_feature: Energy.ModuleFeature) -> bool:
32
32
  """Return True if module supports the feature."""
33
33
  return module_feature in self._supported
34
34
 
@@ -51,6 +51,7 @@ class LightEffect(Module, ABC):
51
51
  """Interface to represent a light effect module."""
52
52
 
53
53
  LIGHT_EFFECTS_OFF = "Off"
54
+ LIGHT_EFFECTS_UNNAMED_CUSTOM = "Custom"
54
55
 
55
56
  def _initialize_features(self) -> None:
56
57
  """Initialize features."""
@@ -77,7 +78,7 @@ class LightEffect(Module, ABC):
77
78
  @property
78
79
  @abstractmethod
79
80
  def effect(self) -> str:
80
- """Return effect state or name."""
81
+ """Return effect name."""
81
82
 
82
83
  @property
83
84
  @abstractmethod
@@ -11,7 +11,7 @@ from ..module import Module
11
11
  from ..protocols import BaseProtocol
12
12
  from .iotdevice import KasaException, requires_update
13
13
  from .iotplug import IotPlug
14
- from .modules import AmbientLight, Light, Motion
14
+ from .modules import AmbientLight, Dimmer, Light, Motion
15
15
 
16
16
 
17
17
  class ButtonAction(Enum):
@@ -87,6 +87,7 @@ class IotDimmer(IotPlug):
87
87
  # TODO: need to be figured out what's the best approach to detect support
88
88
  self.add_module(Module.IotMotion, Motion(self, "smartlife.iot.PIR"))
89
89
  self.add_module(Module.IotAmbientLight, AmbientLight(self, "smartlife.iot.LAS"))
90
+ self.add_module(Module.IotDimmer, Dimmer(self, "smartlife.iot.dimmer"))
90
91
  self.add_module(Module.Light, Light(self, "light"))
91
92
 
92
93
  @property # type: ignore
@@ -4,6 +4,7 @@ from .ambientlight import AmbientLight
4
4
  from .antitheft import Antitheft
5
5
  from .cloud import Cloud
6
6
  from .countdown import Countdown
7
+ from .dimmer import Dimmer
7
8
  from .emeter import Emeter
8
9
  from .led import Led
9
10
  from .light import Light
@@ -20,6 +21,7 @@ __all__ = [
20
21
  "Antitheft",
21
22
  "Cloud",
22
23
  "Countdown",
24
+ "Dimmer",
23
25
  "Emeter",
24
26
  "Led",
25
27
  "Light",
@@ -0,0 +1,270 @@
1
+ """Implementation of the dimmer config module found in dimmers."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import logging
6
+ from datetime import timedelta
7
+ from typing import Any, Final, cast
8
+
9
+ from ...exceptions import KasaException
10
+ from ...feature import Feature
11
+ from ..iotmodule import IotModule, merge
12
+
13
+ _LOGGER = logging.getLogger(__name__)
14
+
15
+
16
+ def _td_to_ms(td: timedelta) -> int:
17
+ """
18
+ Convert timedelta to integer milliseconds.
19
+
20
+ Uses default float to integer rounding.
21
+ """
22
+ return int(td / timedelta(milliseconds=1))
23
+
24
+
25
+ class Dimmer(IotModule):
26
+ """Implements the dimmer config module."""
27
+
28
+ THRESHOLD_ABS_MIN: Final[int] = 0
29
+ # Strange value, but verified against hardware (KS220).
30
+ THRESHOLD_ABS_MAX: Final[int] = 51
31
+ FADE_TIME_ABS_MIN: Final[timedelta] = timedelta(seconds=0)
32
+ # Arbitrary, but set low intending GENTLE FADE for longer fades.
33
+ FADE_TIME_ABS_MAX: Final[timedelta] = timedelta(seconds=10)
34
+ GENTLE_TIME_ABS_MIN: Final[timedelta] = timedelta(seconds=0)
35
+ # Arbitrary, but reasonable default.
36
+ GENTLE_TIME_ABS_MAX: Final[timedelta] = timedelta(seconds=120)
37
+ # Verified against KS220.
38
+ RAMP_RATE_ABS_MIN: Final[int] = 10
39
+ # Verified against KS220.
40
+ RAMP_RATE_ABS_MAX: Final[int] = 50
41
+
42
+ def _initialize_features(self) -> None:
43
+ """Initialize features after the initial update."""
44
+ self._add_feature(
45
+ Feature(
46
+ device=self._device,
47
+ container=self,
48
+ id="dimmer_threshold_min",
49
+ name="Minimum dimming level",
50
+ icon="mdi:lightbulb-on-20",
51
+ attribute_getter="threshold_min",
52
+ attribute_setter="set_threshold_min",
53
+ range_getter=lambda: (self.THRESHOLD_ABS_MIN, self.THRESHOLD_ABS_MAX),
54
+ type=Feature.Type.Number,
55
+ category=Feature.Category.Config,
56
+ )
57
+ )
58
+
59
+ self._add_feature(
60
+ Feature(
61
+ device=self._device,
62
+ container=self,
63
+ id="dimmer_fade_off_time",
64
+ name="Dimmer fade off time",
65
+ icon="mdi:clock-in",
66
+ attribute_getter="fade_off_time",
67
+ attribute_setter="set_fade_off_time",
68
+ range_getter=lambda: (
69
+ _td_to_ms(self.FADE_TIME_ABS_MIN),
70
+ _td_to_ms(self.FADE_TIME_ABS_MAX),
71
+ ),
72
+ type=Feature.Type.Number,
73
+ category=Feature.Category.Config,
74
+ )
75
+ )
76
+
77
+ self._add_feature(
78
+ Feature(
79
+ device=self._device,
80
+ container=self,
81
+ id="dimmer_fade_on_time",
82
+ name="Dimmer fade on time",
83
+ icon="mdi:clock-out",
84
+ attribute_getter="fade_on_time",
85
+ attribute_setter="set_fade_on_time",
86
+ range_getter=lambda: (
87
+ _td_to_ms(self.FADE_TIME_ABS_MIN),
88
+ _td_to_ms(self.FADE_TIME_ABS_MAX),
89
+ ),
90
+ type=Feature.Type.Number,
91
+ category=Feature.Category.Config,
92
+ )
93
+ )
94
+
95
+ self._add_feature(
96
+ Feature(
97
+ device=self._device,
98
+ container=self,
99
+ id="dimmer_gentle_off_time",
100
+ name="Dimmer gentle off time",
101
+ icon="mdi:clock-in",
102
+ attribute_getter="gentle_off_time",
103
+ attribute_setter="set_gentle_off_time",
104
+ range_getter=lambda: (
105
+ _td_to_ms(self.GENTLE_TIME_ABS_MIN),
106
+ _td_to_ms(self.GENTLE_TIME_ABS_MAX),
107
+ ),
108
+ type=Feature.Type.Number,
109
+ category=Feature.Category.Config,
110
+ )
111
+ )
112
+
113
+ self._add_feature(
114
+ Feature(
115
+ device=self._device,
116
+ container=self,
117
+ id="dimmer_gentle_on_time",
118
+ name="Dimmer gentle on time",
119
+ icon="mdi:clock-out",
120
+ attribute_getter="gentle_on_time",
121
+ attribute_setter="set_gentle_on_time",
122
+ range_getter=lambda: (
123
+ _td_to_ms(self.GENTLE_TIME_ABS_MIN),
124
+ _td_to_ms(self.GENTLE_TIME_ABS_MAX),
125
+ ),
126
+ type=Feature.Type.Number,
127
+ category=Feature.Category.Config,
128
+ )
129
+ )
130
+
131
+ self._add_feature(
132
+ Feature(
133
+ device=self._device,
134
+ container=self,
135
+ id="dimmer_ramp_rate",
136
+ name="Dimmer ramp rate",
137
+ icon="mdi:clock-fast",
138
+ attribute_getter="ramp_rate",
139
+ attribute_setter="set_ramp_rate",
140
+ range_getter=lambda: (self.RAMP_RATE_ABS_MIN, self.RAMP_RATE_ABS_MAX),
141
+ type=Feature.Type.Number,
142
+ category=Feature.Category.Config,
143
+ )
144
+ )
145
+
146
+ def query(self) -> dict:
147
+ """Request Dimming configuration."""
148
+ req = merge(
149
+ self.query_for_command("get_dimmer_parameters"),
150
+ self.query_for_command("get_default_behavior"),
151
+ )
152
+
153
+ return req
154
+
155
+ @property
156
+ def config(self) -> dict[str, Any]:
157
+ """Return current configuration."""
158
+ return self.data["get_dimmer_parameters"]
159
+
160
+ @property
161
+ def threshold_min(self) -> int:
162
+ """Return the minimum dimming level for this dimmer."""
163
+ return self.config["minThreshold"]
164
+
165
+ async def set_threshold_min(self, min: int) -> dict:
166
+ """Set the minimum dimming level for this dimmer.
167
+
168
+ The value will depend on the luminaries connected to the dimmer.
169
+
170
+ :param min: The minimum dimming level, in the range 0-51.
171
+ """
172
+ if min < self.THRESHOLD_ABS_MIN or min > self.THRESHOLD_ABS_MAX:
173
+ raise KasaException(
174
+ "Minimum dimming threshold is outside the supported range: "
175
+ f"{self.THRESHOLD_ABS_MIN}-{self.THRESHOLD_ABS_MAX}"
176
+ )
177
+ return await self.call("calibrate_brightness", {"minThreshold": min})
178
+
179
+ @property
180
+ def fade_off_time(self) -> timedelta:
181
+ """Return the fade off animation duration."""
182
+ return timedelta(milliseconds=cast(int, self.config["fadeOffTime"]))
183
+
184
+ async def set_fade_off_time(self, time: int | timedelta) -> dict:
185
+ """Set the duration of the fade off animation.
186
+
187
+ :param time: The animation duration, in ms.
188
+ """
189
+ if isinstance(time, int):
190
+ time = timedelta(milliseconds=time)
191
+ if time < self.FADE_TIME_ABS_MIN or time > self.FADE_TIME_ABS_MAX:
192
+ raise KasaException(
193
+ "Fade time is outside the bounds of the supported range:"
194
+ f"{self.FADE_TIME_ABS_MIN}-{self.FADE_TIME_ABS_MAX}"
195
+ )
196
+ return await self.call("set_fade_off_time", {"fadeTime": _td_to_ms(time)})
197
+
198
+ @property
199
+ def fade_on_time(self) -> timedelta:
200
+ """Return the fade on animation duration."""
201
+ return timedelta(milliseconds=cast(int, self.config["fadeOnTime"]))
202
+
203
+ async def set_fade_on_time(self, time: int | timedelta) -> dict:
204
+ """Set the duration of the fade on animation.
205
+
206
+ :param time: The animation duration, in ms.
207
+ """
208
+ if isinstance(time, int):
209
+ time = timedelta(milliseconds=time)
210
+ if time < self.FADE_TIME_ABS_MIN or time > self.FADE_TIME_ABS_MAX:
211
+ raise KasaException(
212
+ "Fade time is outside the bounds of the supported range:"
213
+ f"{self.FADE_TIME_ABS_MIN}-{self.FADE_TIME_ABS_MAX}"
214
+ )
215
+ return await self.call("set_fade_on_time", {"fadeTime": _td_to_ms(time)})
216
+
217
+ @property
218
+ def gentle_off_time(self) -> timedelta:
219
+ """Return the gentle fade off animation duration."""
220
+ return timedelta(milliseconds=cast(int, self.config["gentleOffTime"]))
221
+
222
+ async def set_gentle_off_time(self, time: int | timedelta) -> dict:
223
+ """Set the duration of the gentle fade off animation.
224
+
225
+ :param time: The animation duration, in ms.
226
+ """
227
+ if isinstance(time, int):
228
+ time = timedelta(milliseconds=time)
229
+ if time < self.GENTLE_TIME_ABS_MIN or time > self.GENTLE_TIME_ABS_MAX:
230
+ raise KasaException(
231
+ "Gentle off time is outside the bounds of the supported range: "
232
+ f"{self.GENTLE_TIME_ABS_MIN}-{self.GENTLE_TIME_ABS_MAX}."
233
+ )
234
+ return await self.call("set_gentle_off_time", {"duration": _td_to_ms(time)})
235
+
236
+ @property
237
+ def gentle_on_time(self) -> timedelta:
238
+ """Return the gentle fade on animation duration."""
239
+ return timedelta(milliseconds=cast(int, self.config["gentleOnTime"]))
240
+
241
+ async def set_gentle_on_time(self, time: int | timedelta) -> dict:
242
+ """Set the duration of the gentle fade on animation.
243
+
244
+ :param time: The animation duration, in ms.
245
+ """
246
+ if isinstance(time, int):
247
+ time = timedelta(milliseconds=time)
248
+ if time < self.GENTLE_TIME_ABS_MIN or time > self.GENTLE_TIME_ABS_MAX:
249
+ raise KasaException(
250
+ "Gentle off time is outside the bounds of the supported range: "
251
+ f"{self.GENTLE_TIME_ABS_MIN}-{self.GENTLE_TIME_ABS_MAX}."
252
+ )
253
+ return await self.call("set_gentle_on_time", {"duration": _td_to_ms(time)})
254
+
255
+ @property
256
+ def ramp_rate(self) -> int:
257
+ """Return the rate that the dimmer buttons increment the dimmer level."""
258
+ return self.config["rampRate"]
259
+
260
+ async def set_ramp_rate(self, rate: int) -> dict:
261
+ """Set how quickly to ramp the dimming level when using the dimmer buttons.
262
+
263
+ :param rate: The rate to increment the dimming level with each press.
264
+ """
265
+ if rate < self.RAMP_RATE_ABS_MIN or rate > self.RAMP_RATE_ABS_MAX:
266
+ raise KasaException(
267
+ "Gentle off time is outside the bounds of the supported range:"
268
+ f"{self.RAMP_RATE_ABS_MIN}-{self.RAMP_RATE_ABS_MAX}"
269
+ )
270
+ return await self.call("set_button_ramp_rate", {"rampRate": rate})
@@ -12,20 +12,11 @@ class LightEffect(IotModule, LightEffectInterface):
12
12
 
13
13
  @property
14
14
  def effect(self) -> str:
15
- """Return effect state.
16
-
17
- Example:
18
- {'brightness': 50,
19
- 'custom': 0,
20
- 'enable': 0,
21
- 'id': '',
22
- 'name': ''}
23
- """
15
+ """Return effect name."""
24
16
  eff = self.data["lighting_effect_state"]
25
17
  name = eff["name"]
26
18
  if eff["enable"]:
27
- return name
28
-
19
+ return name or self.LIGHT_EFFECTS_UNNAMED_CUSTOM
29
20
  return self.LIGHT_EFFECTS_OFF
30
21
 
31
22
  @property
@@ -111,6 +111,7 @@ class Module(ABC):
111
111
  IotAmbientLight: Final[ModuleName[iot.AmbientLight]] = ModuleName("ambient")
112
112
  IotAntitheft: Final[ModuleName[iot.Antitheft]] = ModuleName("anti_theft")
113
113
  IotCountdown: Final[ModuleName[iot.Countdown]] = ModuleName("countdown")
114
+ IotDimmer: Final[ModuleName[iot.Dimmer]] = ModuleName("dimmer")
114
115
  IotMotion: Final[ModuleName[iot.Motion]] = ModuleName("motion")
115
116
  IotSchedule: Final[ModuleName[iot.Schedule]] = ModuleName("schedule")
116
117
  IotUsage: Final[ModuleName[iot.Usage]] = ModuleName("usage")
@@ -182,6 +183,11 @@ class Module(ABC):
182
183
  self._module = module
183
184
  self._module_features: dict[str, Feature] = {}
184
185
 
186
+ @property
187
+ def device(self) -> Device:
188
+ """Return the device exposing the module."""
189
+ return self._device
190
+
185
191
  @property
186
192
  def _all_features(self) -> dict[str, Feature]:
187
193
  """Get the features for this module and any sub modules."""
@@ -19,6 +19,8 @@ class Mode(IntEnum):
19
19
  Balanced = 2
20
20
  Max = 3
21
21
 
22
+ Off = -1_000
23
+
22
24
 
23
25
  class Dustbin(SmartModule):
24
26
  """Implementation of vacuum dustbin."""
@@ -91,6 +93,8 @@ class Dustbin(SmartModule):
91
93
  @property
92
94
  def mode(self) -> str:
93
95
  """Return auto-emptying mode."""
96
+ if self.auto_collection is False:
97
+ return Mode.Off.name
94
98
  return Mode(self._settings["dust_collection_mode"]).name
95
99
 
96
100
  async def set_mode(self, mode: str) -> dict:
@@ -101,8 +105,14 @@ class Dustbin(SmartModule):
101
105
  "Invalid auto/emptying mode speed %s, available %s", mode, name_to_value
102
106
  )
103
107
 
108
+ if mode == Mode.Off.name:
109
+ return await self.set_auto_collection(False)
110
+
111
+ # Make a copy just in case, even when we are overriding both settings
104
112
  settings = self._settings.copy()
113
+ settings["auto_dust_collection"] = True
105
114
  settings["dust_collection_mode"] = name_to_value[mode]
115
+
106
116
  return await self.call("setDustCollectionInfo", settings)
107
117
 
108
118
  @property
@@ -37,20 +37,14 @@ class LightStripEffect(SmartModule, SmartLightEffect):
37
37
 
38
38
  @property
39
39
  def effect(self) -> str:
40
- """Return effect state.
41
-
42
- Example:
43
- {'brightness': 50,
44
- 'custom': 0,
45
- 'enable': 0,
46
- 'id': '',
47
- 'name': ''}
48
- """
40
+ """Return effect name."""
49
41
  eff = self.data["lighting_effect"]
50
42
  name = eff["name"]
51
43
  # When devices are unpaired effect name is softAP which is not in our list
52
44
  if eff["enable"] and name in self._effect_list:
53
45
  return name
46
+ if eff["enable"] and eff["custom"]:
47
+ return name or self.LIGHT_EFFECTS_UNNAMED_CUSTOM
54
48
  return self.LIGHT_EFFECTS_OFF
55
49
 
56
50
  @property
@@ -3,7 +3,8 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import logging
6
- from collections.abc import Awaitable, Callable, Coroutine
6
+ from collections.abc import Callable, Coroutine
7
+ from functools import wraps
7
8
  from typing import TYPE_CHECKING, Any, Concatenate, ParamSpec, TypeVar
8
9
 
9
10
  from ..exceptions import DeviceError, KasaException, SmartErrorCode
@@ -20,15 +21,16 @@ _R = TypeVar("_R")
20
21
 
21
22
 
22
23
  def allow_update_after(
23
- func: Callable[Concatenate[_T, _P], Awaitable[dict]],
24
- ) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, dict]]:
24
+ func: Callable[Concatenate[_T, _P], Coroutine[Any, Any, _R]],
25
+ ) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, _R]]:
25
26
  """Define a wrapper to set _last_update_time to None.
26
27
 
27
28
  This will ensure that a module is updated in the next update cycle after
28
29
  a value has been changed.
29
30
  """
30
31
 
31
- async def _async_wrap(self: _T, *args: _P.args, **kwargs: _P.kwargs) -> dict:
32
+ @wraps(func)
33
+ async def _async_wrap(self: _T, *args: _P.args, **kwargs: _P.kwargs) -> _R:
32
34
  try:
33
35
  return await func(self, *args, **kwargs)
34
36
  finally:
@@ -40,6 +42,7 @@ def allow_update_after(
40
42
  def raise_if_update_error(func: Callable[[_T], _R]) -> Callable[[_T], _R]:
41
43
  """Define a wrapper to raise an error if the last module update was an error."""
42
44
 
45
+ @wraps(func)
43
46
  def _wrap(self: _T) -> _R:
44
47
  if err := self._last_update_error:
45
48
  raise err
@@ -2,8 +2,11 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Annotated
6
+
5
7
  from ...feature import Feature
6
8
  from ...interfaces import Alarm as AlarmInterface
9
+ from ...module import FeatureAttribute
7
10
  from ...smart.smartmodule import allow_update_after
8
11
  from ..smartcammodule import SmartCamModule
9
12
 
@@ -105,12 +108,12 @@ class Alarm(SmartCamModule, AlarmInterface):
105
108
  )
106
109
 
107
110
  @property
108
- def alarm_sound(self) -> str:
111
+ def alarm_sound(self) -> Annotated[str, FeatureAttribute()]:
109
112
  """Return current alarm sound."""
110
113
  return self.data["getSirenConfig"]["siren_type"]
111
114
 
112
115
  @allow_update_after
113
- async def set_alarm_sound(self, sound: str) -> dict:
116
+ async def set_alarm_sound(self, sound: str) -> Annotated[dict, FeatureAttribute()]:
114
117
  """Set alarm sound.
115
118
 
116
119
  See *alarm_sounds* for list of available sounds.
@@ -124,7 +127,7 @@ class Alarm(SmartCamModule, AlarmInterface):
124
127
  return self.data["getSirenTypeList"]["siren_type_list"]
125
128
 
126
129
  @property
127
- def alarm_volume(self) -> int:
130
+ def alarm_volume(self) -> Annotated[int, FeatureAttribute()]:
128
131
  """Return alarm volume.
129
132
 
130
133
  Unlike duration the device expects/returns a string for volume.
@@ -132,18 +135,22 @@ class Alarm(SmartCamModule, AlarmInterface):
132
135
  return int(self.data["getSirenConfig"]["volume"])
133
136
 
134
137
  @allow_update_after
135
- async def set_alarm_volume(self, volume: int) -> dict:
138
+ async def set_alarm_volume(
139
+ self, volume: int
140
+ ) -> Annotated[dict, FeatureAttribute()]:
136
141
  """Set alarm volume."""
137
142
  config = self._validate_and_get_config(volume=volume)
138
143
  return await self.call("setSirenConfig", {"siren": config})
139
144
 
140
145
  @property
141
- def alarm_duration(self) -> int:
146
+ def alarm_duration(self) -> Annotated[int, FeatureAttribute()]:
142
147
  """Return alarm duration."""
143
148
  return self.data["getSirenConfig"]["duration"]
144
149
 
145
150
  @allow_update_after
146
- async def set_alarm_duration(self, duration: int) -> dict:
151
+ async def set_alarm_duration(
152
+ self, duration: int
153
+ ) -> Annotated[dict, FeatureAttribute()]:
147
154
  """Set alarm volume."""
148
155
  config = self._validate_and_get_config(duration=duration)
149
156
  return await self.call("setSirenConfig", {"siren": config})
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "python-kasa"
3
- version = "0.10.0"
3
+ version = "0.10.1"
4
4
  description = "Python API for TP-Link Kasa and Tapo devices"
5
5
  license = {text = "GPL-3.0-or-later"}
6
6
  authors = [ { name = "python-kasa developers" }]