python-kasa 0.7.0.5__tar.gz → 0.7.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 (274) hide show
  1. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/CHANGELOG.md +173 -72
  2. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/PKG-INFO +4 -3
  3. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/README.md +2 -2
  4. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/aestransport.py +4 -3
  5. python_kasa-0.7.2/kasa/cli/__init__.py +1 -0
  6. python_kasa-0.7.2/kasa/cli/__main__.py +6 -0
  7. python_kasa-0.7.2/kasa/cli/common.py +231 -0
  8. python_kasa-0.7.2/kasa/cli/device.py +184 -0
  9. python_kasa-0.7.2/kasa/cli/discover.py +142 -0
  10. python_kasa-0.7.2/kasa/cli/feature.py +134 -0
  11. python_kasa-0.7.2/kasa/cli/lazygroup.py +70 -0
  12. python_kasa-0.7.2/kasa/cli/light.py +200 -0
  13. python_kasa-0.7.2/kasa/cli/main.py +412 -0
  14. python_kasa-0.7.2/kasa/cli/schedule.py +46 -0
  15. python_kasa-0.7.2/kasa/cli/time.py +55 -0
  16. python_kasa-0.7.2/kasa/cli/usage.py +134 -0
  17. python_kasa-0.7.2/kasa/cli/wifi.py +50 -0
  18. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/device.py +10 -3
  19. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/device_factory.py +5 -2
  20. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/discover.py +3 -2
  21. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/emeterstatus.py +1 -1
  22. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/feature.py +49 -30
  23. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/httpclient.py +3 -3
  24. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/energy.py +6 -6
  25. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotbulb.py +19 -5
  26. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotdevice.py +16 -15
  27. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotdimmer.py +8 -8
  28. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotmodule.py +9 -8
  29. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotstrip.py +9 -1
  30. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/ambientlight.py +1 -1
  31. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/light.py +3 -2
  32. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/lighteffect.py +16 -9
  33. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/klaptransport.py +29 -20
  34. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/module.py +2 -0
  35. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/protocol.py +1 -1
  36. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/__init__.py +2 -0
  37. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/alarm.py +1 -1
  38. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/autooff.py +1 -1
  39. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/batterysensor.py +1 -1
  40. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/brightness.py +1 -2
  41. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/cloud.py +0 -7
  42. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/color.py +11 -5
  43. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/colortemperature.py +8 -11
  44. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/energy.py +9 -1
  45. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/fan.py +1 -2
  46. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/firmware.py +51 -24
  47. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/humiditysensor.py +1 -1
  48. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/led.py +1 -1
  49. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/light.py +3 -1
  50. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/lighteffect.py +1 -1
  51. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/lightpreset.py +14 -0
  52. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/lightstripeffect.py +11 -2
  53. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/lighttransition.py +3 -3
  54. python_kasa-0.7.2/kasa/smart/modules/motionsensor.py +36 -0
  55. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/reportmode.py +1 -1
  56. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/temperaturecontrol.py +1 -2
  57. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/temperaturesensor.py +1 -1
  58. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/smartchilddevice.py +19 -2
  59. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/smartdevice.py +49 -39
  60. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/smartmodule.py +54 -1
  61. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smartprotocol.py +11 -87
  62. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/conftest.py +1 -1
  63. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/device_fixtures.py +2 -2
  64. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/discovery_fixtures.py +2 -2
  65. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fakeprotocol_iot.py +25 -9
  66. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fakeprotocol_smart.py +12 -8
  67. python_kasa-0.7.2/kasa/tests/fixtures/KP400(US)_3.0_1.0.3.json +45 -0
  68. python_kasa-0.7.2/kasa/tests/fixtures/KP400(US)_3.0_1.0.4.json +46 -0
  69. python_kasa-0.7.2/kasa/tests/fixtures/KP405(US)_1.0_1.0.6.json +65 -0
  70. python_kasa-0.7.2/kasa/tests/fixtures/KS200M(US)_1.0_1.0.11.json +96 -0
  71. python_kasa-0.7.2/kasa/tests/fixtures/smart/HS220(US)_3.26_1.0.1.json +371 -0
  72. python_kasa-0.7.2/kasa/tests/fixtures/smart/KS205(US)_1.0_1.1.0.json +298 -0
  73. python_kasa-0.7.2/kasa/tests/fixtures/smart/KS225(US)_1.0_1.1.0.json +332 -0
  74. python_kasa-0.7.2/kasa/tests/fixtures/smart/L920-5(EU)_1.0_1.1.3.json +1085 -0
  75. python_kasa-0.7.2/kasa/tests/fixtures/smart/child/T100(EU)_1.0_1.12.0.json +537 -0
  76. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/features/test_brightness.py +8 -6
  77. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/features/test_colortemp.py +2 -2
  78. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_autooff.py +1 -1
  79. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_contact.py +1 -1
  80. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_fan.py +2 -2
  81. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_firmware.py +35 -5
  82. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_humidity.py +1 -1
  83. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_light_effect.py +1 -1
  84. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_light_strip_effect.py +13 -16
  85. python_kasa-0.7.2/kasa/tests/smart/modules/test_motionsensor.py +28 -0
  86. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_temperature.py +1 -1
  87. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_temperaturecontrol.py +16 -7
  88. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_waterleak.py +1 -1
  89. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_aestransport.py +3 -3
  90. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_bulb.py +97 -22
  91. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_cli.py +139 -20
  92. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_common_modules.py +86 -12
  93. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_device.py +4 -2
  94. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_dimmer.py +30 -10
  95. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_discovery.py +4 -4
  96. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_emeter.py +2 -2
  97. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_feature.py +6 -6
  98. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_httpclient.py +2 -2
  99. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_iotdevice.py +20 -1
  100. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_klapprotocol.py +72 -6
  101. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_lightstrip.py +3 -1
  102. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_protocol.py +84 -29
  103. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_readme_examples.py +3 -49
  104. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_smartdevice.py +89 -87
  105. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_smartprotocol.py +1 -1
  106. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_usage.py +2 -1
  107. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/xortransport.py +2 -2
  108. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/pyproject.toml +8 -3
  109. python_kasa-0.7.0.5/kasa/cli.py +0 -1316
  110. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/LICENSE +0 -0
  111. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/__init__.py +0 -0
  112. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/credentials.py +0 -0
  113. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/device_type.py +0 -0
  114. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/deviceconfig.py +0 -0
  115. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/exceptions.py +0 -0
  116. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/__init__.py +0 -0
  117. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/fan.py +0 -0
  118. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/led.py +0 -0
  119. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/light.py +0 -0
  120. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/lighteffect.py +0 -0
  121. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/interfaces/lightpreset.py +0 -0
  122. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/__init__.py +0 -0
  123. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/effects.py +0 -0
  124. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotlightstrip.py +0 -0
  125. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/iotplug.py +0 -0
  126. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/__init__.py +0 -0
  127. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/antitheft.py +0 -0
  128. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/cloud.py +0 -0
  129. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/countdown.py +0 -0
  130. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/emeter.py +0 -0
  131. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/led.py +0 -0
  132. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/lightpreset.py +0 -0
  133. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/motion.py +0 -0
  134. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/rulemodule.py +0 -0
  135. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/schedule.py +0 -0
  136. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/time.py +0 -0
  137. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iot/modules/usage.py +0 -0
  138. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/iotprotocol.py +0 -0
  139. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/json.py +0 -0
  140. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/modulemapping.py +0 -0
  141. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/modulemapping.pyi +0 -0
  142. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/py.typed +0 -0
  143. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/__init__.py +0 -0
  144. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/effects.py +0 -0
  145. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/childdevice.py +0 -0
  146. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/contactsensor.py +0 -0
  147. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/devicemodule.py +0 -0
  148. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/frostprotection.py +0 -0
  149. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/time.py +0 -0
  150. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/smart/modules/waterleaksensor.py +0 -0
  151. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/__init__.py +0 -0
  152. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtureinfo.py +0 -0
  153. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json +0 -0
  154. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/EP40(US)_1.0_1.0.2.json +0 -0
  155. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/ES20M(US)_1.0_1.0.8.json +0 -0
  156. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS100(UK)_1.0_1.2.6.json +0 -0
  157. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +0 -0
  158. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS100(US)_1.0_1.2.5.json +0 -0
  159. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS100(US)_2.0_1.5.6.json +0 -0
  160. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS103(US)_1.0_1.5.7.json +0 -0
  161. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS103(US)_2.1_1.1.2.json +0 -0
  162. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS103(US)_2.1_1.1.4.json +0 -0
  163. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS105(US)_1.0_1.5.6.json +0 -0
  164. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS107(US)_1.0_1.0.8.json +0 -0
  165. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +0 -0
  166. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS110(EU)_4.0_1.0.4.json +0 -0
  167. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS110(US)_1.0_1.2.6.json +0 -0
  168. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS200(US)_2.0_1.5.7.json +0 -0
  169. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS200(US)_5.0_1.0.2.json +0 -0
  170. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS210(US)_1.0_1.5.8.json +0 -0
  171. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS220(US)_1.0_1.5.7.json +0 -0
  172. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS220(US)_2.0_1.0.3.json +0 -0
  173. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS300(US)_1.0_1.0.10.json +0 -0
  174. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS300(US)_1.0_1.0.21.json +0 -0
  175. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS300(US)_2.0_1.0.12.json +0 -0
  176. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/HS300(US)_2.0_1.0.3.json +0 -0
  177. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL110(US)_1.0_1.8.11.json +0 -0
  178. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL120(US)_1.0_1.8.11.json +0 -0
  179. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL120(US)_1.0_1.8.6.json +0 -0
  180. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL125(US)_1.20_1.0.5.json +0 -0
  181. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL125(US)_2.0_1.0.7.json +0 -0
  182. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL125(US)_4.0_1.0.5.json +0 -0
  183. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +0 -0
  184. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL130(US)_1.0_1.8.11.json +0 -0
  185. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL135(US)_1.0_1.0.6.json +0 -0
  186. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.5.json +0 -0
  187. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.8.json +0 -0
  188. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL420L5(US)_1.0_1.0.2.json +0 -0
  189. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL430(UN)_2.0_1.0.8.json +0 -0
  190. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL430(US)_1.0_1.0.10.json +0 -0
  191. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL430(US)_2.0_1.0.11.json +0 -0
  192. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL430(US)_2.0_1.0.8.json +0 -0
  193. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL430(US)_2.0_1.0.9.json +0 -0
  194. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL50(US)_1.0_1.1.13.json +0 -0
  195. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL60(UN)_1.0_1.1.4.json +0 -0
  196. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KL60(US)_1.0_1.1.13.json +0 -0
  197. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json +0 -0
  198. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.5.json +0 -0
  199. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +0 -0
  200. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +0 -0
  201. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP115(US)_1.0_1.0.17.json +0 -0
  202. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP115(US)_1.0_1.0.21.json +0 -0
  203. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP125(US)_1.0_1.0.6.json +0 -0
  204. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP200(US)_3.0_1.0.3.json +0 -0
  205. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +0 -0
  206. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP303(US)_2.0_1.0.3.json +0 -0
  207. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP400(US)_1.0_1.0.10.json +0 -0
  208. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP400(US)_2.0_1.0.6.json +0 -0
  209. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json +0 -0
  210. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KP405(US)_1.0_1.0.5.json +0 -0
  211. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KS200M(US)_1.0_1.0.8.json +0 -0
  212. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KS220M(US)_1.0_1.0.4.json +0 -0
  213. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/KS230(US)_1.0_1.0.14.json +0 -0
  214. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/LB110(US)_1.0_1.8.11.json +0 -0
  215. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
  216. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
  217. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +0 -0
  218. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +0 -0
  219. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +0 -0
  220. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +0 -0
  221. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
  222. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
  223. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
  224. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +0 -0
  225. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +0 -0
  226. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
  227. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
  228. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
  229. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
  230. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
  231. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +0 -0
  232. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
  233. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
  234. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
  235. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
  236. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
  237. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +0 -0
  238. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
  239. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
  240. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
  241. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P100_1.0.0_1.1.3.json +0 -0
  242. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P100_1.0.0_1.3.7.json +0 -0
  243. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P100_1.0.0_1.4.0.json +0 -0
  244. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +0 -0
  245. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
  246. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
  247. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +0 -0
  248. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
  249. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
  250. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
  251. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +0 -0
  252. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
  253. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
  254. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
  255. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +0 -0
  256. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
  257. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
  258. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +0 -0
  259. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +0 -0
  260. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +0 -0
  261. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +0 -0
  262. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +0 -0
  263. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +0 -0
  264. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +0 -0
  265. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/__init__.py +0 -0
  266. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/features/__init__.py +0 -0
  267. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/__init__.py +0 -0
  268. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/smart/modules/test_lighttransition.py +0 -0
  269. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_childdevice.py +0 -0
  270. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_device_factory.py +0 -0
  271. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_device_type.py +0 -0
  272. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_deviceconfig.py +0 -0
  273. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_plug.py +0 -0
  274. {python_kasa-0.7.0.5 → python_kasa-0.7.2}/kasa/tests/test_strip.py +0 -0
@@ -1,5 +1,92 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.2](https://github.com/python-kasa/python-kasa/tree/0.7.2) (2024-08-30)
4
+
5
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.1...0.7.2)
6
+
7
+ **Release summary:**
8
+
9
+ - **Breaking** change to disable including the check for the latest firmware for tapo devices and newer kasa devices in the standard update cycle. To check for the latest firmware call `check_latest_firmware` on the firmware module or run the `check_latest_firmware` feature.
10
+ - Minor bugfixes and improvements.
11
+
12
+ **Breaking changes:**
13
+
14
+ - Disable automatic updating of latest firmware [\#1103](https://github.com/python-kasa/python-kasa/pull/1103) (@sdb9696)
15
+
16
+ **Implemented enhancements:**
17
+
18
+ - Improve performance of dict merge code [\#1097](https://github.com/python-kasa/python-kasa/pull/1097) (@bdraco)
19
+
20
+ **Fixed bugs:**
21
+
22
+ - Fix logging in iotdevice when a module is module not supported [\#1100](https://github.com/python-kasa/python-kasa/pull/1100) (@bdraco)
23
+
24
+ **Documentation updates:**
25
+
26
+ - Fix incorrect docs link in contributing.md [\#1099](https://github.com/python-kasa/python-kasa/pull/1099) (@sdb9696)
27
+
28
+ **Project maintenance:**
29
+
30
+ - Add flake8-pytest-style \(PT\) for ruff [\#1105](https://github.com/python-kasa/python-kasa/pull/1105) (@rytilahti)
31
+ - Add flake8-logging \(LOG\) and flake8-logging-format \(G\) for ruff [\#1104](https://github.com/python-kasa/python-kasa/pull/1104) (@rytilahti)
32
+ - Add missing typing\_extensions dependency [\#1101](https://github.com/python-kasa/python-kasa/pull/1101) (@sdb9696)
33
+ - Remove top level await xdoctest fixture [\#1098](https://github.com/python-kasa/python-kasa/pull/1098) (@sdb9696)
34
+ - Enable python 3.13, allow pre-releases for CI [\#1086](https://github.com/python-kasa/python-kasa/pull/1086) (@rytilahti)
35
+
36
+ ## [0.7.1](https://github.com/python-kasa/python-kasa/tree/0.7.1) (2024-07-31)
37
+
38
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.5...0.7.1)
39
+
40
+ **Release highlights:**
41
+ - This release consists mainly of bugfixes and project improvements.
42
+ - There is also new support for Tapo T100 motion sensors.
43
+ - The CLI now supports child devices on all applicable commands.
44
+
45
+ **Implemented enhancements:**
46
+
47
+ - Expose reboot action [\#1073](https://github.com/python-kasa/python-kasa/pull/1073) (@rytilahti)
48
+ - Decrypt KLAP data from PCAP files [\#1041](https://github.com/python-kasa/python-kasa/pull/1041) (@clstrickland)
49
+ - Support child devices in all applicable cli commands [\#1020](https://github.com/python-kasa/python-kasa/pull/1020) (@sdb9696)
50
+
51
+ **Fixed bugs:**
52
+
53
+ - Error connecting to L920-5 Smart LED Strip [\#1040](https://github.com/python-kasa/python-kasa/issues/1040)
54
+ - Handle module errors more robustly and add query params to light preset and transition [\#1036](https://github.com/python-kasa/python-kasa/pull/1036) (@sdb9696)
55
+ - Fix iot light effect brightness [\#1092](https://github.com/python-kasa/python-kasa/pull/1092) (@sdb9696)
56
+ - Enable setting brightness with color temp for smart devices [\#1091](https://github.com/python-kasa/python-kasa/pull/1091) (@sdb9696)
57
+ - Do not send light\_on value to iot bulb set\_state [\#1090](https://github.com/python-kasa/python-kasa/pull/1090) (@sdb9696)
58
+ - Allow erroring modules to recover [\#1080](https://github.com/python-kasa/python-kasa/pull/1080) (@sdb9696)
59
+ - Raise KasaException on decryption errors [\#1078](https://github.com/python-kasa/python-kasa/pull/1078) (@sdb9696)
60
+ - Update smart request parameter handling [\#1061](https://github.com/python-kasa/python-kasa/pull/1061) (@sdb9696)
61
+ - Fix light preset module when list contains lighting effects [\#1048](https://github.com/python-kasa/python-kasa/pull/1048) (@sdb9696)
62
+ - Fix credential hash to return None on empty credentials [\#1029](https://github.com/python-kasa/python-kasa/pull/1029) (@sdb9696)
63
+
64
+ **Added support for devices:**
65
+
66
+ - Add support for T100 motion sensor [\#1079](https://github.com/python-kasa/python-kasa/pull/1079) (@rytilahti)
67
+
68
+ **Project maintenance:**
69
+
70
+ - Bump project version to 0.7.0.5 [\#1087](https://github.com/python-kasa/python-kasa/pull/1087) (@sdb9696)
71
+ - Add KP400\(US\) v1.0.4 fixture [\#1051](https://github.com/python-kasa/python-kasa/pull/1051) (@gimpy88)
72
+ - Add new HS220 kasa aes fixture [\#1050](https://github.com/python-kasa/python-kasa/pull/1050) (@sdb9696)
73
+ - Add KS205\(US\) v1.1.0 fixture [\#1049](https://github.com/python-kasa/python-kasa/pull/1049) (@gimpy88)
74
+ - Fix generate\_supported pre commit to run in venv [\#1085](https://github.com/python-kasa/python-kasa/pull/1085) (@sdb9696)
75
+ - Fix intermittently failing decryption error test [\#1082](https://github.com/python-kasa/python-kasa/pull/1082) (@sdb9696)
76
+ - Fix mypy pre-commit hook on windows [\#1081](https://github.com/python-kasa/python-kasa/pull/1081) (@sdb9696)
77
+ - Update RELEASING.md for patch releases [\#1076](https://github.com/python-kasa/python-kasa/pull/1076) (@sdb9696)
78
+ - Use monotonic time for query timing [\#1070](https://github.com/python-kasa/python-kasa/pull/1070) (@sdb9696)
79
+ - Fix parse\_pcap\_klap on windows and support default credentials [\#1068](https://github.com/python-kasa/python-kasa/pull/1068) (@sdb9696)
80
+ - Add fixture file for KP405 fw 1.0.6 [\#1063](https://github.com/python-kasa/python-kasa/pull/1063) (@daleye)
81
+ - Bump project version to 0.7.0.3 [\#1053](https://github.com/python-kasa/python-kasa/pull/1053) (@sdb9696)
82
+ - Add KS200M\(US\) v1.0.11 fixture [\#1047](https://github.com/python-kasa/python-kasa/pull/1047) (@sdb9696)
83
+ - Add KS225\(US\) v1.1.0 fixture [\#1046](https://github.com/python-kasa/python-kasa/pull/1046) (@sdb9696)
84
+ - Split out main cli module into lazily loaded submodules [\#1039](https://github.com/python-kasa/python-kasa/pull/1039) (@sdb9696)
85
+ - Structure cli into a package [\#1038](https://github.com/python-kasa/python-kasa/pull/1038) (@sdb9696)
86
+ - Add KP400 v1.0.3 fixture [\#1037](https://github.com/python-kasa/python-kasa/pull/1037) (@gimpy88)
87
+ - Add L920\(EU\) v1.1.3 fixture [\#1031](https://github.com/python-kasa/python-kasa/pull/1031) (@rytilahti)
88
+ - Update changelog generator config [\#1030](https://github.com/python-kasa/python-kasa/pull/1030) (@sdb9696)
89
+
3
90
  ## [0.7.0.5](https://github.com/python-kasa/python-kasa/tree/0.7.0.5) (2024-07-18)
4
91
 
5
92
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.4...0.7.0.5)
@@ -8,33 +95,44 @@ A critical bugfix for an issue with some L530 Series devices and a redactor for
8
95
 
9
96
  **Fixed bugs:**
10
97
 
11
- - Only refresh smart LightEffect module daily [\#1064](https://github.com/python-kasa/python-kasa/pull/1064)
98
+ - Only refresh smart LightEffect module daily [\#1064](https://github.com/python-kasa/python-kasa/pull/1064) (@sdb9696)
12
99
 
13
100
  **Project maintenance:**
14
101
 
15
- - Redact sensitive info from debug logs [\#1069](https://github.com/python-kasa/python-kasa/pull/1069)
102
+ - Redact sensitive info from debug logs [\#1069](https://github.com/python-kasa/python-kasa/pull/1069) (@sdb9696)
16
103
 
17
104
  ## [0.7.0.4](https://github.com/python-kasa/python-kasa/tree/0.7.0.4) (2024-07-11)
18
105
 
19
106
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.3...0.7.0.4)
20
107
 
21
- Critical bugfixes for issues with P100s and thermostats.
108
+ Critical bugfixes for issues with P100s and thermostats
109
+
22
110
 
23
111
  **Fixed bugs:**
24
112
 
25
- - Use first known thermostat state as main state (pick #1054) [\#1057](https://github.com/python-kasa/python-kasa/pull/1057)
26
- - Defer module updates for less volatile modules (pick 1052) [\#1056](https://github.com/python-kasa/python-kasa/pull/1056)
113
+ - Use first known thermostat state as main state \(pick \#1054\) [\#1057](https://github.com/python-kasa/python-kasa/pull/1057) (@sdb9696)
114
+ - Defer module updates for less volatile modules \(pick 1052\) [\#1056](https://github.com/python-kasa/python-kasa/pull/1056) (@sdb9696)
115
+ - Use first known thermostat state as main state [\#1054](https://github.com/python-kasa/python-kasa/pull/1054) (@rytilahti)
116
+ - Defer module updates for less volatile modules [\#1052](https://github.com/python-kasa/python-kasa/pull/1052) (@sdb9696)
27
117
 
28
118
  ## [0.7.0.3](https://github.com/python-kasa/python-kasa/tree/0.7.0.3) (2024-07-04)
29
119
 
30
120
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.7.0.2...0.7.0.3)
31
121
 
32
- Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
122
+ Critical bugfix for issue #1033 with ks225 and S505D light preset module errors.
33
123
  Partially fixes light preset module errors with L920 and L930.
34
124
 
35
125
  **Fixed bugs:**
36
126
 
37
- - Handle module errors more robustly and add query params to light preset and transition [\#1043](https://github.com/python-kasa/python-kasa/pull/1043)
127
+ - Handle module errors more robustly and add query params to light preset and transition [\#1043](https://github.com/python-kasa/python-kasa/pull/1043) (@sdb9696)
128
+
129
+ **Documentation updates:**
130
+
131
+ - Misleading usage of asyncio.run\(\) in code examples [\#348](https://github.com/python-kasa/python-kasa/issues/348)
132
+
133
+ **Project maintenance:**
134
+
135
+ - Enable CI on the patch branch [\#1042](https://github.com/python-kasa/python-kasa/pull/1042) (@sdb9696)
38
136
 
39
137
  ## [0.7.0.2](https://github.com/python-kasa/python-kasa/tree/0.7.0.2) (2024-07-01)
40
138
 
@@ -76,25 +174,25 @@ This patch release fixes some minor issues found out during testing against all
76
174
 
77
175
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.2.1...0.7.0)
78
176
 
79
- We have been working hard behind the scenes to make this major release possible.
80
- This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
81
- The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
82
-
83
- With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
84
- * Support for multi-functional devices like the dimmable fan KS240.
85
- * Initial support for hubs and hub-connected devices like thermostats and sensors.
86
- * Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
87
- * Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
88
- * The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
89
- * Improved documentation.
90
-
91
- Hope you enjoy the release, feel free to leave a comment and feedback!
92
-
93
- If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
94
-
95
- > git diff 0.6.2.1..HEAD|diffstat
96
- > 214 files changed, 26960 insertions(+), 6310 deletions(-)
97
-
177
+ We have been working hard behind the scenes to make this major release possible.
178
+ This release brings a major refactoring of the library to serve the ever-growing list of supported devices and paves the way for the future, yet unsupported devices.
179
+ The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
180
+
181
+ With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
182
+ * Support for multi-functional devices like the dimmable fan KS240.
183
+ * Initial support for hubs and hub-connected devices like thermostats and sensors.
184
+ * Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
185
+ * Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
186
+ * The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
187
+ * Improved documentation.
188
+
189
+ Hope you enjoy the release, feel free to leave a comment and feedback!
190
+
191
+ If you have a device that works, but is not listed in our supported devices list, feel free to [contribute fixture files](https://python-kasa.readthedocs.io/en/latest/contribute.html#contributing-fixture-files) to help us to make the library even better!
192
+
193
+ > git diff 0.6.2.1..HEAD|diffstat
194
+ > 214 files changed, 26960 insertions(+), 6310 deletions(-)
195
+
98
196
  For more information on the changes please checkout our [documentation on the API changes](https://python-kasa.readthedocs.io/en/latest/deprecated.html)
99
197
 
100
198
  **Breaking changes:**
@@ -326,8 +424,8 @@ For more information on the changes please checkout our [documentation on the AP
326
424
 
327
425
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.1...0.6.2)
328
426
 
329
- Release highlights:
330
- * Support for tapo power strips (P300)
427
+ Release highlights:
428
+ * Support for tapo power strips (P300)
331
429
  * Performance improvements and bug fixes
332
430
 
333
431
  **Implemented enhancements:**
@@ -366,9 +464,9 @@ Release highlights:
366
464
 
367
465
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.0.1...0.6.1)
368
466
 
369
- Release highlights:
370
- * Support for tapo wall switches
371
- * Support for unprovisioned devices
467
+ Release highlights:
468
+ * Support for tapo wall switches
469
+ * Support for unprovisioned devices
372
470
  * Performance and stability improvements
373
471
 
374
472
  **Implemented enhancements:**
@@ -441,17 +539,17 @@ A patch release to improve the protocol handling.
441
539
 
442
540
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.4...0.6.0)
443
541
 
444
- This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
445
-
446
- This release adds support to a large range of previously unsupported devices, including:
447
-
448
- * Newer kasa-branded devices, including Matter-enabled devices like KP125M
449
- * Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
450
- * Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
451
- * UK variant of HS110, which was the first device using the new protocol
452
-
453
- If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
454
-
542
+ This major brings major changes to the library by adding support for devices that require authentication for communications, all of this being possible thanks to the great work by @sdb9696!
543
+
544
+ This release adds support to a large range of previously unsupported devices, including:
545
+
546
+ * Newer kasa-branded devices, including Matter-enabled devices like KP125M
547
+ * Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
548
+ * Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
549
+ * UK variant of HS110, which was the first device using the new protocol
550
+
551
+ If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
552
+
455
553
  Special thanks goes to @SimonWilkinson who created the initial PR for the new communication protocol!
456
554
 
457
555
  **Breaking changes:**
@@ -546,13 +644,13 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
546
644
 
547
645
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.3...0.5.4)
548
646
 
549
- The highlights of this maintenance release:
550
-
551
- * Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
552
- * Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
553
- * Optimizations for downstream device accesses, thanks to @bdraco.
554
- * Support for both pydantic v1 and v2.
555
-
647
+ The highlights of this maintenance release:
648
+
649
+ * Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
650
+ * Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
651
+ * Optimizations for downstream device accesses, thanks to @bdraco.
652
+ * Support for both pydantic v1 and v2.
653
+
556
654
  As always, see the full changelog for details.
557
655
 
558
656
  **Implemented enhancements:**
@@ -612,8 +710,8 @@ This release adds support for defining the device port and introduces dependency
612
710
 
613
711
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.1...0.5.2)
614
712
 
615
- Besides some small improvements, this release:
616
- * Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
713
+ Besides some small improvements, this release:
714
+ * Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
617
715
  * Drops Python 3.7 support as it is no longer maintained.
618
716
 
619
717
  **Breaking changes:**
@@ -648,11 +746,11 @@ Besides some small improvements, this release:
648
746
 
649
747
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.0...0.5.1)
650
748
 
651
- This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
652
- * Improved console tool (JSON output, colorized output if rich is installed)
653
- * Pretty, colorized console output, if `rich` is installed
654
- * Support for configuring bulb presets
655
- * Usage data is now reported in the expected format
749
+ This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
750
+ * Improved console tool (JSON output, colorized output if rich is installed)
751
+ * Pretty, colorized console output, if `rich` is installed
752
+ * Support for configuring bulb presets
753
+ * Usage data is now reported in the expected format
656
754
  * Dependency pinning is relaxed to give downstreams more control
657
755
 
658
756
  **Breaking changes:**
@@ -716,21 +814,21 @@ This minor release contains mostly small UX fine-tuning and documentation improv
716
814
 
717
815
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.3...0.5.0)
718
816
 
719
- This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
720
-
721
- There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
722
- * Basic system info
723
- * Emeter
724
- * Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
725
- * Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
726
- * Countdown (new)
727
- * Antitheft (new)
728
- * Schedule (new)
729
- * Motion - for configuring motion settings on some dimmers (new)
730
- * Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
731
- * Cloud - information about cloud connectivity (new)
732
-
733
- For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
817
+ This is the first release of 0.5 series which includes converting the code base towards more modular approach where device-exposed modules (e.g., emeter, antitheft, or schedule) are implemented in their separate python modules to decouple them from the device-specific classes.
818
+
819
+ There should be no API breaking changes, but some previous issues hint that there may be as information from all supported modules are now requested during each update cycle (depending on the device type):
820
+ * Basic system info
821
+ * Emeter
822
+ * Time - properties (like `on_since`) use now time from the device for calculation to avoid jitter caused by different time between the host and the device
823
+ * Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
824
+ * Countdown (new)
825
+ * Antitheft (new)
826
+ * Schedule (new)
827
+ * Motion - for configuring motion settings on some dimmers (new)
828
+ * Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
829
+ * Cloud - information about cloud connectivity (new)
830
+
831
+ For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
734
832
  Pull requests improving the functionality of modules as well as adding better interfaces to device classes are welcome!
735
833
 
736
834
  **Breaking changes:**
@@ -880,6 +978,10 @@ Pull requests improving the functionality of modules as well as adding better in
880
978
  - Improve poetry usage documentation [\#60](https://github.com/python-kasa/python-kasa/issues/60)
881
979
  - Improve cli documentation for bulbs and power strips [\#123](https://github.com/python-kasa/python-kasa/pull/123) (@rytilahti)
882
980
 
981
+ **Project maintenance:**
982
+
983
+ - Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
984
+
883
985
  **Merged pull requests:**
884
986
 
885
987
  - Add github workflow for pypi publishing [\#220](https://github.com/python-kasa/python-kasa/pull/220) (@rytilahti)
@@ -902,7 +1004,6 @@ Pull requests improving the functionality of modules as well as adding better in
902
1004
  - Fix documentation on Smart strips [\#136](https://github.com/python-kasa/python-kasa/pull/136) (@flavio-fernandes)
903
1005
  - add tapo link, fix tplink-smarthome-simulator link [\#133](https://github.com/python-kasa/python-kasa/pull/133) (@rytilahti)
904
1006
  - Leverage data from UDP discovery to initialize device structure [\#132](https://github.com/python-kasa/python-kasa/pull/132) (@dlee1j1)
905
- - Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
906
1007
  - Pin dependencies on major versions, add poetry.lock [\#94](https://github.com/python-kasa/python-kasa/pull/94) (@rytilahti)
907
1008
  - add a small example script to show library usage [\#90](https://github.com/python-kasa/python-kasa/pull/90) (@rytilahti)
908
1009
  - add .readthedocs.yml required for poetry builds [\#89](https://github.com/python-kasa/python-kasa/pull/89) (@rytilahti)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-kasa
3
- Version: 0.7.0.5
3
+ Version: 0.7.2
4
4
  Summary: Python API for TP-Link Kasa Smarthome devices
5
5
  Home-page: https://github.com/python-kasa/python-kasa
6
6
  License: GPL-3.0-or-later
@@ -29,6 +29,7 @@ Requires-Dist: rich ; extra == "shell"
29
29
  Requires-Dist: sphinx (>=5,<6) ; extra == "docs"
30
30
  Requires-Dist: sphinx_rtd_theme (>=2,<3) ; extra == "docs"
31
31
  Requires-Dist: sphinxcontrib-programoutput (>=0,<1) ; extra == "docs"
32
+ Requires-Dist: typing-extensions (>=4.12.2,<5.0)
32
33
  Project-URL: Bug Tracker, https://github.com/python-kasa/python-kasa/issues
33
34
  Project-URL: Documentation, https://python-kasa.readthedocs.io
34
35
  Project-URL: Repository, https://github.com/python-kasa/python-kasa
@@ -216,7 +217,7 @@ The following devices have been tested and confirmed as working. If your device
216
217
 
217
218
  - **Plugs**: EP10, EP25<sup>\*</sup>, HS100<sup>\*\*</sup>, HS103, HS105, HS110, KP100, KP105, KP115, KP125, KP125M<sup>\*</sup>, KP401
218
219
  - **Power Strips**: EP40, HS107, HS300, KP200, KP303, KP400
219
- - **Wall Switches**: ES20M, HS200, HS210, HS220, KP405, KS200M, KS205<sup>\*</sup>, KS220M, KS225<sup>\*</sup>, KS230, KS240<sup>\*</sup>
220
+ - **Wall Switches**: ES20M, HS200, HS210, HS220<sup>\*\*</sup>, KP405, KS200M, KS205<sup>\*</sup>, KS220M, KS225<sup>\*</sup>, KS230, KS240<sup>\*</sup>
220
221
  - **Bulbs**: KL110, KL120, KL125, KL130, KL135, KL50, KL60, LB110
221
222
  - **Light Strips**: KL400L5, KL420L5, KL430
222
223
  - **Hubs**: KH100<sup>\*</sup>
@@ -230,7 +231,7 @@ The following devices have been tested and confirmed as working. If your device
230
231
  - **Bulbs**: L510B, L510E, L530E
231
232
  - **Light Strips**: L900-10, L900-5, L920-5, L930-5
232
233
  - **Hubs**: H100
233
- - **Hub-Connected Devices<sup>\*\*\*</sup>**: T110, T300, T310, T315
234
+ - **Hub-Connected Devices<sup>\*\*\*</sup>**: T100, T110, T300, T310, T315
234
235
 
235
236
  <!--SUPPORTED_END-->
236
237
  <sup>\*</sup>&nbsp;&nbsp; Model requires authentication<br>
@@ -180,7 +180,7 @@ The following devices have been tested and confirmed as working. If your device
180
180
 
181
181
  - **Plugs**: EP10, EP25<sup>\*</sup>, HS100<sup>\*\*</sup>, HS103, HS105, HS110, KP100, KP105, KP115, KP125, KP125M<sup>\*</sup>, KP401
182
182
  - **Power Strips**: EP40, HS107, HS300, KP200, KP303, KP400
183
- - **Wall Switches**: ES20M, HS200, HS210, HS220, KP405, KS200M, KS205<sup>\*</sup>, KS220M, KS225<sup>\*</sup>, KS230, KS240<sup>\*</sup>
183
+ - **Wall Switches**: ES20M, HS200, HS210, HS220<sup>\*\*</sup>, KP405, KS200M, KS205<sup>\*</sup>, KS220M, KS225<sup>\*</sup>, KS230, KS240<sup>\*</sup>
184
184
  - **Bulbs**: KL110, KL120, KL125, KL130, KL135, KL50, KL60, LB110
185
185
  - **Light Strips**: KL400L5, KL420L5, KL430
186
186
  - **Hubs**: KH100<sup>\*</sup>
@@ -194,7 +194,7 @@ The following devices have been tested and confirmed as working. If your device
194
194
  - **Bulbs**: L510B, L510E, L530E
195
195
  - **Light Strips**: L900-10, L900-5, L920-5, L930-5
196
196
  - **Hubs**: H100
197
- - **Hub-Connected Devices<sup>\*\*\*</sup>**: T110, T300, T310, T315
197
+ - **Hub-Connected Devices<sup>\*\*\*</sup>**: T100, T110, T300, T310, T315
198
198
 
199
199
  <!--SUPPORTED_END-->
200
200
  <sup>\*</sup>&nbsp;&nbsp; Model requires authentication<br>
@@ -117,8 +117,10 @@ class AesTransport(BaseTransport):
117
117
  return self.DEFAULT_PORT
118
118
 
119
119
  @property
120
- def credentials_hash(self) -> str:
120
+ def credentials_hash(self) -> str | None:
121
121
  """The hashed credentials used by the transport."""
122
+ if self._credentials == Credentials():
123
+ return None
122
124
  return base64.b64encode(json_dumps(self._login_params).encode()).decode()
123
125
 
124
126
  def _get_login_params(self, credentials: Credentials) -> dict[str, str]:
@@ -276,9 +278,8 @@ class AesTransport(BaseTransport):
276
278
  + "\n-----END PUBLIC KEY-----\n"
277
279
  )
278
280
  handshake_params = {"key": pub_key}
279
- _LOGGER.debug(f"Handshake params: {handshake_params}")
280
281
  request_body = {"method": "handshake", "params": handshake_params}
281
- _LOGGER.debug(f"Request {request_body}")
282
+ _LOGGER.debug("Handshake request: %s", request_body)
282
283
  yield json_dumps(request_body).encode()
283
284
 
284
285
  async def perform_handshake(self) -> None:
@@ -0,0 +1 @@
1
+ """Package for the cli."""
@@ -0,0 +1,6 @@
1
+ """Main module."""
2
+
3
+ from kasa.cli.main import cli
4
+
5
+ if __name__ == "__main__":
6
+ cli()