python-kasa 0.10.0__tar.gz → 0.10.2__tar.gz

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