python-kasa 0.6.2.1__tar.gz → 0.7.0__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 (272) hide show
  1. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/CHANGELOG.md +238 -318
  2. python_kasa-0.7.0/PKG-INFO +266 -0
  3. python_kasa-0.7.0/README.md +229 -0
  4. python_kasa-0.7.0/kasa/__init__.py +152 -0
  5. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/aestransport.py +55 -35
  6. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/cli.py +420 -171
  7. python_kasa-0.7.0/kasa/device.py +530 -0
  8. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/device_factory.py +83 -44
  9. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/device_type.py +7 -3
  10. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/deviceconfig.py +57 -25
  11. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/discover.py +207 -127
  12. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/emeterstatus.py +7 -5
  13. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/exceptions.py +41 -26
  14. python_kasa-0.7.0/kasa/feature.py +273 -0
  15. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/httpclient.py +46 -15
  16. python_kasa-0.7.0/kasa/interfaces/__init__.py +18 -0
  17. python_kasa-0.7.0/kasa/interfaces/energy.py +181 -0
  18. python_kasa-0.7.0/kasa/interfaces/fan.py +20 -0
  19. python_kasa-0.7.0/kasa/interfaces/led.py +38 -0
  20. python_kasa-0.7.0/kasa/interfaces/light.py +198 -0
  21. python_kasa-0.7.0/kasa/interfaces/lighteffect.py +120 -0
  22. python_kasa-0.7.0/kasa/interfaces/lightpreset.py +144 -0
  23. python_kasa-0.7.0/kasa/iot/__init__.py +18 -0
  24. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/effects.py +4 -2
  25. python_kasa-0.6.2.1/kasa/smartbulb.py → python_kasa-0.7.0/kasa/iot/iotbulb.py +103 -147
  26. python_kasa-0.6.2.1/kasa/smartdevice.py → python_kasa-0.7.0/kasa/iot/iotdevice.py +164 -347
  27. python_kasa-0.6.2.1/kasa/smartdimmer.py → python_kasa-0.7.0/kasa/iot/iotdimmer.py +45 -33
  28. python_kasa-0.7.0/kasa/iot/iotlightstrip.py +72 -0
  29. python_kasa-0.6.2.1/kasa/modules/module.py → python_kasa-0.7.0/kasa/iot/iotmodule.py +22 -42
  30. python_kasa-0.7.0/kasa/iot/iotplug.py +94 -0
  31. python_kasa-0.6.2.1/kasa/smartstrip.py → python_kasa-0.7.0/kasa/iot/iotstrip.py +186 -122
  32. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/__init__.py +10 -2
  33. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/ambientlight.py +31 -3
  34. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/antitheft.py +1 -0
  35. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/cloud.py +25 -6
  36. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/countdown.py +1 -0
  37. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/emeter.py +55 -15
  38. python_kasa-0.7.0/kasa/iot/modules/led.py +37 -0
  39. python_kasa-0.7.0/kasa/iot/modules/light.py +263 -0
  40. python_kasa-0.7.0/kasa/iot/modules/lighteffect.py +128 -0
  41. python_kasa-0.7.0/kasa/iot/modules/lightpreset.py +157 -0
  42. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/motion.py +8 -8
  43. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/rulemodule.py +11 -12
  44. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/schedule.py +1 -0
  45. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/time.py +5 -4
  46. {python_kasa-0.6.2.1/kasa → python_kasa-0.7.0/kasa/iot}/modules/usage.py +10 -8
  47. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/iotprotocol.py +22 -20
  48. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/klaptransport.py +25 -15
  49. python_kasa-0.7.0/kasa/module.py +173 -0
  50. python_kasa-0.7.0/kasa/modulemapping.py +25 -0
  51. python_kasa-0.7.0/kasa/modulemapping.pyi +96 -0
  52. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/protocol.py +6 -4
  53. python_kasa-0.7.0/kasa/smart/__init__.py +6 -0
  54. python_kasa-0.7.0/kasa/smart/effects.py +429 -0
  55. python_kasa-0.7.0/kasa/smart/modules/__init__.py +57 -0
  56. python_kasa-0.7.0/kasa/smart/modules/alarm.py +142 -0
  57. python_kasa-0.7.0/kasa/smart/modules/autooff.py +110 -0
  58. python_kasa-0.7.0/kasa/smart/modules/batterysensor.py +54 -0
  59. python_kasa-0.7.0/kasa/smart/modules/brightness.py +66 -0
  60. python_kasa-0.7.0/kasa/smart/modules/childdevice.py +48 -0
  61. python_kasa-0.7.0/kasa/smart/modules/cloud.py +42 -0
  62. python_kasa-0.7.0/kasa/smart/modules/color.py +96 -0
  63. python_kasa-0.7.0/kasa/smart/modules/colortemperature.py +78 -0
  64. python_kasa-0.7.0/kasa/smart/modules/contactsensor.py +42 -0
  65. python_kasa-0.7.0/kasa/smart/modules/devicemodule.py +22 -0
  66. python_kasa-0.7.0/kasa/smart/modules/energy.py +99 -0
  67. python_kasa-0.7.0/kasa/smart/modules/fan.py +81 -0
  68. python_kasa-0.7.0/kasa/smart/modules/firmware.py +217 -0
  69. python_kasa-0.7.0/kasa/smart/modules/frostprotection.py +59 -0
  70. python_kasa-0.7.0/kasa/smart/modules/humiditysensor.py +55 -0
  71. python_kasa-0.7.0/kasa/smart/modules/led.py +49 -0
  72. python_kasa-0.7.0/kasa/smart/modules/light.py +166 -0
  73. python_kasa-0.7.0/kasa/smart/modules/lighteffect.py +115 -0
  74. python_kasa-0.7.0/kasa/smart/modules/lightpreset.py +153 -0
  75. python_kasa-0.7.0/kasa/smart/modules/lightstripeffect.py +145 -0
  76. python_kasa-0.7.0/kasa/smart/modules/lighttransition.py +193 -0
  77. python_kasa-0.7.0/kasa/smart/modules/reportmode.py +37 -0
  78. python_kasa-0.7.0/kasa/smart/modules/temperaturecontrol.py +177 -0
  79. python_kasa-0.7.0/kasa/smart/modules/temperaturesensor.py +77 -0
  80. python_kasa-0.7.0/kasa/smart/modules/time.py +63 -0
  81. python_kasa-0.7.0/kasa/smart/modules/waterleaksensor.py +66 -0
  82. python_kasa-0.7.0/kasa/smart/smartchilddevice.py +76 -0
  83. python_kasa-0.7.0/kasa/smart/smartdevice.py +613 -0
  84. python_kasa-0.7.0/kasa/smart/smartmodule.py +112 -0
  85. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/smartprotocol.py +109 -41
  86. python_kasa-0.7.0/kasa/tests/conftest.py +107 -0
  87. python_kasa-0.7.0/kasa/tests/device_fixtures.py +467 -0
  88. python_kasa-0.7.0/kasa/tests/discovery_fixtures.py +252 -0
  89. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fakeprotocol_iot.py +100 -13
  90. python_kasa-0.7.0/kasa/tests/fakeprotocol_smart.py +336 -0
  91. python_kasa-0.7.0/kasa/tests/fixtureinfo.py +154 -0
  92. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +1 -1
  93. python_kasa-0.7.0/kasa/tests/fixtures/HS110(US)_1.0_1.2.6.json +37 -0
  94. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS220(US)_1.0_1.5.7.json +1 -1
  95. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS220(US)_2.0_1.0.3.json +1 -1
  96. python_kasa-0.7.0/kasa/tests/fixtures/HS300(US)_1.0_1.0.21.json +89 -0
  97. python_kasa-0.7.0/kasa/tests/fixtures/KL120(US)_1.0_1.8.11.json +85 -0
  98. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL430(US)_1.0_1.0.10.json +51 -12
  99. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +1 -1
  100. python_kasa-0.7.0/kasa/tests/fixtures/smart/H100(EU)_1.0_1.2.3.json +221 -0
  101. python_kasa-0.7.0/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.10.json +547 -0
  102. python_kasa-0.7.0/kasa/tests/fixtures/smart/H100(EU)_1.0_1.5.5.json +391 -0
  103. python_kasa-0.7.0/kasa/tests/fixtures/smart/KH100(UK)_1.0_1.5.6.json +1557 -0
  104. python_kasa-0.7.0/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.4.json +899 -0
  105. python_kasa-0.7.0/kasa/tests/fixtures/smart/KS240(US)_1.0_1.0.5.json +479 -0
  106. python_kasa-0.7.0/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.6.json +449 -0
  107. python_kasa-0.7.0/kasa/tests/fixtures/smart/L920-5(EU)_1.0_1.0.7.json +350 -0
  108. python_kasa-0.7.0/kasa/tests/fixtures/smart/P100_1.0.0_1.1.3.json +173 -0
  109. python_kasa-0.7.0/kasa/tests/fixtures/smart/P100_1.0.0_1.4.0.json +204 -0
  110. python_kasa-0.7.0/kasa/tests/fixtures/smart/P110(EU)_1.0_1.0.7.json +566 -0
  111. python_kasa-0.7.0/kasa/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json +386 -0
  112. python_kasa-0.7.0/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +966 -0
  113. python_kasa-0.7.0/kasa/tests/fixtures/smart/S505D(US)_1.0_1.1.0.json +262 -0
  114. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.4.0.json +170 -0
  115. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/KE100(EU)_1.0_2.8.0.json +171 -0
  116. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/KE100(UK)_1.0_2.8.0.json +171 -0
  117. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/T110(EU)_1.0_1.8.0.json +526 -0
  118. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/T300(EU)_1.0_1.7.0.json +533 -0
  119. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json +530 -0
  120. python_kasa-0.7.0/kasa/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json +537 -0
  121. python_kasa-0.7.0/kasa/tests/smart/__init__.py +0 -0
  122. python_kasa-0.7.0/kasa/tests/smart/features/__init__.py +0 -0
  123. python_kasa-0.7.0/kasa/tests/smart/features/test_brightness.py +55 -0
  124. python_kasa-0.7.0/kasa/tests/smart/features/test_colortemp.py +30 -0
  125. python_kasa-0.7.0/kasa/tests/smart/modules/__init__.py +0 -0
  126. python_kasa-0.7.0/kasa/tests/smart/modules/test_autooff.py +103 -0
  127. python_kasa-0.7.0/kasa/tests/smart/modules/test_contact.py +28 -0
  128. python_kasa-0.7.0/kasa/tests/smart/modules/test_fan.py +83 -0
  129. python_kasa-0.7.0/kasa/tests/smart/modules/test_firmware.py +119 -0
  130. python_kasa-0.7.0/kasa/tests/smart/modules/test_humidity.py +28 -0
  131. python_kasa-0.7.0/kasa/tests/smart/modules/test_light_effect.py +41 -0
  132. python_kasa-0.7.0/kasa/tests/smart/modules/test_temperature.py +47 -0
  133. python_kasa-0.7.0/kasa/tests/smart/modules/test_temperaturecontrol.py +137 -0
  134. python_kasa-0.7.0/kasa/tests/smart/modules/test_waterleak.py +42 -0
  135. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_aestransport.py +204 -24
  136. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_bulb.py +125 -90
  137. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_childdevice.py +38 -8
  138. python_kasa-0.7.0/kasa/tests/test_cli.py +932 -0
  139. python_kasa-0.7.0/kasa/tests/test_common_modules.py +243 -0
  140. python_kasa-0.7.0/kasa/tests/test_device.py +299 -0
  141. python_kasa-0.7.0/kasa/tests/test_device_factory.py +175 -0
  142. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_device_type.py +1 -1
  143. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_deviceconfig.py +2 -2
  144. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_dimmer.py +42 -33
  145. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_discovery.py +173 -67
  146. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_emeter.py +52 -20
  147. python_kasa-0.7.0/kasa/tests/test_feature.py +205 -0
  148. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_httpclient.py +11 -11
  149. python_kasa-0.6.2.1/kasa/tests/test_smartdevice.py → python_kasa-0.7.0/kasa/tests/test_iotdevice.py +112 -155
  150. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_klapprotocol.py +94 -37
  151. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_lightstrip.py +24 -19
  152. python_kasa-0.7.0/kasa/tests/test_plug.py +83 -0
  153. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_protocol.py +8 -10
  154. python_kasa-0.7.0/kasa/tests/test_readme_examples.py +203 -0
  155. python_kasa-0.7.0/kasa/tests/test_smartdevice.py +234 -0
  156. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_smartprotocol.py +131 -25
  157. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_strip.py +23 -6
  158. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/test_usage.py +1 -1
  159. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/xortransport.py +17 -14
  160. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/pyproject.toml +35 -8
  161. python_kasa-0.6.2.1/PKG-INFO +0 -391
  162. python_kasa-0.6.2.1/README.md +0 -355
  163. python_kasa-0.6.2.1/kasa/__init__.py +0 -82
  164. python_kasa-0.6.2.1/kasa/smartlightstrip.py +0 -143
  165. python_kasa-0.6.2.1/kasa/smartplug.py +0 -91
  166. python_kasa-0.6.2.1/kasa/tapo/__init__.py +0 -7
  167. python_kasa-0.6.2.1/kasa/tapo/childdevice.py +0 -41
  168. python_kasa-0.6.2.1/kasa/tapo/tapobulb.py +0 -262
  169. python_kasa-0.6.2.1/kasa/tapo/tapodevice.py +0 -409
  170. python_kasa-0.6.2.1/kasa/tapo/tapoplug.py +0 -45
  171. python_kasa-0.6.2.1/kasa/tests/conftest.py +0 -642
  172. python_kasa-0.6.2.1/kasa/tests/fakeprotocol_smart.py +0 -125
  173. python_kasa-0.6.2.1/kasa/tests/fixtures/HS105(US)_1.0_mocked.json +0 -47
  174. python_kasa-0.6.2.1/kasa/tests/fixtures/HS110(EU)_2.0_mocked.json +0 -50
  175. python_kasa-0.6.2.1/kasa/tests/fixtures/HS110(US)_1.0_mocked.json +0 -50
  176. python_kasa-0.6.2.1/kasa/tests/fixtures/HS200(US)_1.0_mocked.json +0 -47
  177. python_kasa-0.6.2.1/kasa/tests/fixtures/HS220(US)_1.0_mocked.json +0 -75
  178. python_kasa-0.6.2.1/kasa/tests/fixtures/LB100(US)_1.0_mocked.json +0 -103
  179. python_kasa-0.6.2.1/kasa/tests/fixtures/LB120(US)_1.0_mocked.json +0 -103
  180. python_kasa-0.6.2.1/kasa/tests/fixtures/LB130(US)_1.0_mocked.json +0 -104
  181. python_kasa-0.6.2.1/kasa/tests/test_cli.py +0 -531
  182. python_kasa-0.6.2.1/kasa/tests/test_device_factory.py +0 -149
  183. python_kasa-0.6.2.1/kasa/tests/test_plug.py +0 -45
  184. python_kasa-0.6.2.1/kasa/tests/test_readme_examples.py +0 -68
  185. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/LICENSE +0 -0
  186. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/credentials.py +0 -0
  187. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/json.py +0 -0
  188. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/py.typed +0 -0
  189. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/__init__.py +0 -0
  190. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json +0 -0
  191. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/EP40(US)_1.0_1.0.2.json +0 -0
  192. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/ES20M(US)_1.0_1.0.8.json +0 -0
  193. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS100(UK)_1.0_1.2.6.json +0 -0
  194. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +0 -0
  195. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS100(US)_1.0_1.2.5.json +0 -0
  196. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS100(US)_2.0_1.5.6.json +0 -0
  197. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS103(US)_1.0_1.5.7.json +0 -0
  198. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS103(US)_2.1_1.1.2.json +0 -0
  199. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS103(US)_2.1_1.1.4.json +0 -0
  200. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS105(US)_1.0_1.5.6.json +0 -0
  201. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS107(US)_1.0_1.0.8.json +0 -0
  202. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS110(EU)_4.0_1.0.4.json +0 -0
  203. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS200(US)_2.0_1.5.7.json +0 -0
  204. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS200(US)_5.0_1.0.2.json +0 -0
  205. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS210(US)_1.0_1.5.8.json +0 -0
  206. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS300(US)_1.0_1.0.10.json +0 -0
  207. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS300(US)_2.0_1.0.12.json +0 -0
  208. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/HS300(US)_2.0_1.0.3.json +0 -0
  209. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL110(US)_1.0_1.8.11.json +0 -0
  210. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL120(US)_1.0_1.8.6.json +0 -0
  211. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL125(US)_1.20_1.0.5.json +0 -0
  212. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL125(US)_2.0_1.0.7.json +0 -0
  213. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL125(US)_4.0_1.0.5.json +0 -0
  214. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +0 -0
  215. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL130(US)_1.0_1.8.11.json +0 -0
  216. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL135(US)_1.0_1.0.6.json +0 -0
  217. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.5.json +0 -0
  218. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.8.json +0 -0
  219. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL420L5(US)_1.0_1.0.2.json +0 -0
  220. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL430(UN)_2.0_1.0.8.json +0 -0
  221. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL430(US)_2.0_1.0.11.json +0 -0
  222. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL430(US)_2.0_1.0.8.json +0 -0
  223. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL430(US)_2.0_1.0.9.json +0 -0
  224. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL50(US)_1.0_1.1.13.json +0 -0
  225. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL60(UN)_1.0_1.1.4.json +0 -0
  226. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KL60(US)_1.0_1.1.13.json +0 -0
  227. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json +0 -0
  228. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.5.json +0 -0
  229. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +0 -0
  230. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +0 -0
  231. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP115(US)_1.0_1.0.17.json +0 -0
  232. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP115(US)_1.0_1.0.21.json +0 -0
  233. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP125(US)_1.0_1.0.6.json +0 -0
  234. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP200(US)_3.0_1.0.3.json +0 -0
  235. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP303(US)_2.0_1.0.3.json +0 -0
  236. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP400(US)_1.0_1.0.10.json +0 -0
  237. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP400(US)_2.0_1.0.6.json +0 -0
  238. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json +0 -0
  239. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KP405(US)_1.0_1.0.5.json +0 -0
  240. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KS200M(US)_1.0_1.0.8.json +0 -0
  241. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KS220M(US)_1.0_1.0.4.json +0 -0
  242. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/KS230(US)_1.0_1.0.14.json +0 -0
  243. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/LB110(US)_1.0_1.8.11.json +0 -0
  244. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +0 -0
  245. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +0 -0
  246. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +0 -0
  247. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +0 -0
  248. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +0 -0
  249. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +0 -0
  250. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +0 -0
  251. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +0 -0
  252. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +0 -0
  253. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +0 -0
  254. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +0 -0
  255. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +0 -0
  256. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +0 -0
  257. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +0 -0
  258. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +0 -0
  259. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +0 -0
  260. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +0 -0
  261. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +0 -0
  262. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P100_1.0.0_1.3.7.json +0 -0
  263. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +0 -0
  264. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +0 -0
  265. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +0 -0
  266. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +0 -0
  267. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json +0 -0
  268. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json +0 -0
  269. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +0 -0
  270. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +0 -0
  271. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/TP15(US)_1.0_1.0.3.json +0 -0
  272. {python_kasa-0.6.2.1 → python_kasa-0.7.0}/kasa/tests/fixtures/smart/TP25(US)_1.0_1.0.2.json +0 -0
@@ -1,5 +1,221 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.0](https://github.com/python-kasa/python-kasa/tree/0.7.0) (2024-06-23)
4
+
5
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.2.1...0.7.0)
6
+
7
+ We have been working hard behind the scenes to make this major release possible.
8
+ 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.
9
+ The library now exposes device features through generic module and feature interfaces, that allows easy extension for future improvements.
10
+
11
+ With almost 180 merged pull requests, over 200 changed files and since the last release, this release includes lots of goodies for everyone:
12
+ * Support for multi-functional devices like the dimmable fan KS240.
13
+ * Initial support for hubs and hub-connected devices like thermostats and sensors.
14
+ * Both IOT (legacy kasa) and SMART (tapo and newer kasa) devices now expose features and share common API.
15
+ * Modules to allow controlling new devices and functions such as light presets, fan controls, thermostats, humidity sensors, firmware updates and alarms.
16
+ * The common APIs allow dynamic introspection of available device features, making it easy to create dynamic interfaces.
17
+ * Improved documentation.
18
+
19
+ Hope you enjoy the release, feel free to leave a comment and feedback!
20
+
21
+ 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!
22
+
23
+ > git diff 0.6.2.1..HEAD|diffstat
24
+ > 214 files changed, 26960 insertions(+), 6310 deletions(-)
25
+
26
+ For more information on the changes please checkout our [documentation on the API changes](https://python-kasa.readthedocs.io/en/latest/deprecated.html)
27
+
28
+ **Breaking changes:**
29
+
30
+ - Add common energy module and deprecate device emeter attributes [\#976](https://github.com/python-kasa/python-kasa/pull/976) (@sdb9696)
31
+ - Move SmartBulb into SmartDevice [\#874](https://github.com/python-kasa/python-kasa/pull/874) (@sdb9696)
32
+ - Change state\_information to return feature values [\#804](https://github.com/python-kasa/python-kasa/pull/804) (@rytilahti)
33
+ - Remove SmartPlug in favor of SmartDevice [\#781](https://github.com/python-kasa/python-kasa/pull/781) (@rytilahti)
34
+ - Add generic interface for accessing device features [\#741](https://github.com/python-kasa/python-kasa/pull/741) (@rytilahti)
35
+
36
+ **Implemented enhancements:**
37
+
38
+ - Cleanup cli output [\#1000](https://github.com/python-kasa/python-kasa/pull/1000) (@rytilahti)
39
+ - Improve autooff name and unit [\#997](https://github.com/python-kasa/python-kasa/pull/997) (@rytilahti)
40
+ - Update mode, time, rssi and report\_interval feature names/units [\#995](https://github.com/python-kasa/python-kasa/pull/995) (@sdb9696)
41
+ - Add unit\_getter for feature [\#993](https://github.com/python-kasa/python-kasa/pull/993) (@rytilahti)
42
+ - Add timezone to on\_since attributes [\#978](https://github.com/python-kasa/python-kasa/pull/978) (@sdb9696)
43
+ - Add type hints to feature set\_value [\#974](https://github.com/python-kasa/python-kasa/pull/974) (@sdb9696)
44
+ - Handle unknown light effect names and only calculate effect list once [\#973](https://github.com/python-kasa/python-kasa/pull/973) (@sdb9696)
45
+ - Support smart child modules queries [\#967](https://github.com/python-kasa/python-kasa/pull/967) (@sdb9696)
46
+ - Do not expose child modules on parent devices [\#964](https://github.com/python-kasa/python-kasa/pull/964) (@sdb9696)
47
+ - Do not add parent only modules to strip sockets [\#963](https://github.com/python-kasa/python-kasa/pull/963) (@sdb9696)
48
+ - Add time sync command [\#951](https://github.com/python-kasa/python-kasa/pull/951) (@rytilahti)
49
+ - Make device initialisation easier by reducing required imports [\#936](https://github.com/python-kasa/python-kasa/pull/936) (@sdb9696)
50
+ - Fix set\_state for common light modules [\#929](https://github.com/python-kasa/python-kasa/pull/929) (@sdb9696)
51
+ - Add state feature for iot devices [\#924](https://github.com/python-kasa/python-kasa/pull/924) (@rytilahti)
52
+ - Add post update hook to module and use in smart LightEffect [\#921](https://github.com/python-kasa/python-kasa/pull/921) (@sdb9696)
53
+ - Add LightEffect module for smart light strips [\#918](https://github.com/python-kasa/python-kasa/pull/918) (@sdb9696)
54
+ - Add light presets common module to devices. [\#907](https://github.com/python-kasa/python-kasa/pull/907) (@sdb9696)
55
+ - Improve categorization of features [\#904](https://github.com/python-kasa/python-kasa/pull/904) (@rytilahti)
56
+ - Create common interfaces for remaining device types [\#895](https://github.com/python-kasa/python-kasa/pull/895) (@sdb9696)
57
+ - Make get\_module return typed module [\#892](https://github.com/python-kasa/python-kasa/pull/892) (@sdb9696)
58
+ - Add LightEffectModule for dynamic light effects on SMART bulbs [\#887](https://github.com/python-kasa/python-kasa/pull/887) (@sdb9696)
59
+ - Implement choice feature type [\#880](https://github.com/python-kasa/python-kasa/pull/880) (@rytilahti)
60
+ - Add Fan interface for SMART devices [\#873](https://github.com/python-kasa/python-kasa/pull/873) (@sdb9696)
61
+ - Improve temperature controls [\#872](https://github.com/python-kasa/python-kasa/pull/872) (@rytilahti)
62
+ - Add precision\_hint to feature [\#871](https://github.com/python-kasa/python-kasa/pull/871) (@rytilahti)
63
+ - Be more lax on unknown SMART devices [\#863](https://github.com/python-kasa/python-kasa/pull/863) (@rytilahti)
64
+ - Handle paging of partial responses of lists like child\_device\_info [\#862](https://github.com/python-kasa/python-kasa/pull/862) (@sdb9696)
65
+ - Better firmware module support for devices not connected to the internet [\#854](https://github.com/python-kasa/python-kasa/pull/854) (@sdb9696)
66
+ - Re-query missing responses after multi request errors [\#850](https://github.com/python-kasa/python-kasa/pull/850) (@sdb9696)
67
+ - Implement action feature [\#849](https://github.com/python-kasa/python-kasa/pull/849) (@rytilahti)
68
+ - Add temperature control module for smart [\#848](https://github.com/python-kasa/python-kasa/pull/848) (@rytilahti)
69
+ - Implement feature categories [\#846](https://github.com/python-kasa/python-kasa/pull/846) (@rytilahti)
70
+ - Expose IOT emeter info as features [\#844](https://github.com/python-kasa/python-kasa/pull/844) (@rytilahti)
71
+ - Add support for feature units [\#843](https://github.com/python-kasa/python-kasa/pull/843) (@rytilahti)
72
+ - Add ColorModule for smart devices [\#840](https://github.com/python-kasa/python-kasa/pull/840) (@sdb9696)
73
+ - Add colortemp feature for iot devices [\#827](https://github.com/python-kasa/python-kasa/pull/827) (@rytilahti)
74
+ - Add support for firmware module v1 [\#821](https://github.com/python-kasa/python-kasa/pull/821) (@sdb9696)
75
+ - Add colortemp module [\#814](https://github.com/python-kasa/python-kasa/pull/814) (@rytilahti)
76
+ - Add iot brightness feature [\#808](https://github.com/python-kasa/python-kasa/pull/808) (@sdb9696)
77
+ - Revise device initialization and subsequent updates [\#807](https://github.com/python-kasa/python-kasa/pull/807) (@rytilahti)
78
+ - Add brightness module [\#806](https://github.com/python-kasa/python-kasa/pull/806) (@rytilahti)
79
+ - Support multiple child requests [\#795](https://github.com/python-kasa/python-kasa/pull/795) (@sdb9696)
80
+ - Support for on\_off\_gradually v2+ [\#793](https://github.com/python-kasa/python-kasa/pull/793) (@rytilahti)
81
+ - Improve smartdevice update module [\#791](https://github.com/python-kasa/python-kasa/pull/791) (@rytilahti)
82
+ - Add --child option to feature command [\#789](https://github.com/python-kasa/python-kasa/pull/789) (@rytilahti)
83
+ - Add temperature\_unit feature to t315 [\#788](https://github.com/python-kasa/python-kasa/pull/788) (@rytilahti)
84
+ - Add feature for ambient light sensor [\#787](https://github.com/python-kasa/python-kasa/pull/787) (@shifty35)
85
+ - Add initial support for H100 and T315 [\#776](https://github.com/python-kasa/python-kasa/pull/776) (@rytilahti)
86
+ - Generalize smartdevice child support [\#775](https://github.com/python-kasa/python-kasa/pull/775) (@rytilahti)
87
+ - Raise CLI errors in debug mode [\#771](https://github.com/python-kasa/python-kasa/pull/771) (@sdb9696)
88
+ - Add cloud module for smartdevice [\#767](https://github.com/python-kasa/python-kasa/pull/767) (@rytilahti)
89
+ - Add firmware module for smartdevice [\#766](https://github.com/python-kasa/python-kasa/pull/766) (@rytilahti)
90
+ - Add fan module [\#764](https://github.com/python-kasa/python-kasa/pull/764) (@rytilahti)
91
+ - Add smartdevice module for led controls [\#761](https://github.com/python-kasa/python-kasa/pull/761) (@rytilahti)
92
+ - Auto auto-off module for smartdevice [\#760](https://github.com/python-kasa/python-kasa/pull/760) (@rytilahti)
93
+ - Add smartdevice module for smooth transitions [\#759](https://github.com/python-kasa/python-kasa/pull/759) (@rytilahti)
94
+ - Initial implementation for modularized smartdevice [\#757](https://github.com/python-kasa/python-kasa/pull/757) (@rytilahti)
95
+ - Let caller handle SMART errors on multi-requests [\#754](https://github.com/python-kasa/python-kasa/pull/754) (@sdb9696)
96
+ - Add 'shell' command to cli [\#738](https://github.com/python-kasa/python-kasa/pull/738) (@rytilahti)
97
+
98
+ **Fixed bugs:**
99
+
100
+ - Fix smart led status to report rule status [\#1002](https://github.com/python-kasa/python-kasa/pull/1002) (@sdb9696)
101
+ - Demote device\_time back to debug [\#1001](https://github.com/python-kasa/python-kasa/pull/1001) (@rytilahti)
102
+ - Fix to call update when only --device-family passed to cli [\#987](https://github.com/python-kasa/python-kasa/pull/987) (@sdb9696)
103
+ - Disallow non-targeted device commands [\#982](https://github.com/python-kasa/python-kasa/pull/982) (@rytilahti)
104
+ - Add supported check to light transition module [\#971](https://github.com/python-kasa/python-kasa/pull/971) (@sdb9696)
105
+ - Fix switching off light effects for iot lights strips [\#961](https://github.com/python-kasa/python-kasa/pull/961) (@sdb9696)
106
+ - Add state features to iot strip sockets [\#960](https://github.com/python-kasa/python-kasa/pull/960) (@sdb9696)
107
+ - Ensure http delay logic works during default login attempt [\#959](https://github.com/python-kasa/python-kasa/pull/959) (@sdb9696)
108
+ - Fix fan speed level when off and derive smart fan module from common fan interface [\#957](https://github.com/python-kasa/python-kasa/pull/957) (@sdb9696)
109
+ - Require update in cli for wifi commands [\#956](https://github.com/python-kasa/python-kasa/pull/956) (@rytilahti)
110
+ - Do not raise on multi-request errors on child devices [\#949](https://github.com/python-kasa/python-kasa/pull/949) (@rytilahti)
111
+ - Do not show a zero error code when cli exits from showing help [\#935](https://github.com/python-kasa/python-kasa/pull/935) (@rytilahti)
112
+ - Initialize autooff features only when data is available [\#933](https://github.com/python-kasa/python-kasa/pull/933) (@rytilahti)
113
+ - Fix P100 errors on multi-requests [\#930](https://github.com/python-kasa/python-kasa/pull/930) (@sdb9696)
114
+ - Fix potential infinite loop if incomplete lists returned [\#920](https://github.com/python-kasa/python-kasa/pull/920) (@sdb9696)
115
+ - Add 'battery\_percentage' only when it's available [\#906](https://github.com/python-kasa/python-kasa/pull/906) (@rytilahti)
116
+ - Add missing alarm volume 'normal' [\#899](https://github.com/python-kasa/python-kasa/pull/899) (@rytilahti)
117
+ - Use Path.save for saving the fixtures [\#894](https://github.com/python-kasa/python-kasa/pull/894) (@rytilahti)
118
+ - Fix wifi scan re-querying error [\#891](https://github.com/python-kasa/python-kasa/pull/891) (@sdb9696)
119
+ - Fix --help on subcommands [\#886](https://github.com/python-kasa/python-kasa/pull/886) (@rytilahti)
120
+ - Fix smartprotocol response list handler to handle null reponses [\#884](https://github.com/python-kasa/python-kasa/pull/884) (@sdb9696)
121
+ - Improve feature setter robustness [\#870](https://github.com/python-kasa/python-kasa/pull/870) (@rytilahti)
122
+ - smartbulb: Limit brightness range to 1-100 [\#829](https://github.com/python-kasa/python-kasa/pull/829) (@rytilahti)
123
+ - Fix energy module calling get\_current\_power [\#798](https://github.com/python-kasa/python-kasa/pull/798) (@sdb9696)
124
+ - Fix auto update switch [\#786](https://github.com/python-kasa/python-kasa/pull/786) (@rytilahti)
125
+ - Retry query on 403 after successful handshake [\#785](https://github.com/python-kasa/python-kasa/pull/785) (@sdb9696)
126
+ - Ensure connections are closed when cli is finished [\#752](https://github.com/python-kasa/python-kasa/pull/752) (@sdb9696)
127
+ - Fix for P100 on fw 1.1.3 login\_version none [\#751](https://github.com/python-kasa/python-kasa/pull/751) (@sdb9696)
128
+ - Pass timeout parameters to discover\_single [\#744](https://github.com/python-kasa/python-kasa/pull/744) (@sdb9696)
129
+ - Reduce AuthenticationExceptions raising from transports [\#740](https://github.com/python-kasa/python-kasa/pull/740) (@sdb9696)
130
+ - Do not crash cli on missing discovery info [\#735](https://github.com/python-kasa/python-kasa/pull/735) (@rytilahti)
131
+ - Fix port-override for aes&klap transports [\#734](https://github.com/python-kasa/python-kasa/pull/734) (@rytilahti)
132
+ - Fix discovery cli to print devices not printed during discovery timeout [\#670](https://github.com/python-kasa/python-kasa/pull/670) (@sdb9696)
133
+
134
+ **Added support for devices:**
135
+
136
+ - Add fixture for L920-5\(EU\) 1.0.7 [\#972](https://github.com/python-kasa/python-kasa/pull/972) (@rytilahti)
137
+ - Add P115 fixture [\#950](https://github.com/python-kasa/python-kasa/pull/950) (@rytilahti)
138
+ - Add some device fixtures [\#948](https://github.com/python-kasa/python-kasa/pull/948) (@rytilahti)
139
+ - Add fixture for S505D [\#947](https://github.com/python-kasa/python-kasa/pull/947) (@rytilahti)
140
+ - Add fixture for p300 1.0.15 [\#915](https://github.com/python-kasa/python-kasa/pull/915) (@rytilahti)
141
+ - Add H100 1.5.10 and KE100 2.4.0 fixtures [\#905](https://github.com/python-kasa/python-kasa/pull/905) (@rytilahti)
142
+ - Add fixture for waterleak sensor T300 [\#897](https://github.com/python-kasa/python-kasa/pull/897) (@rytilahti)
143
+ - Add support for contact sensor \(T110\) [\#877](https://github.com/python-kasa/python-kasa/pull/877) (@rytilahti)
144
+ - Add support for waterleak sensor \(T300\) [\#876](https://github.com/python-kasa/python-kasa/pull/876) (@rytilahti)
145
+ - Add support for KH100 hub [\#847](https://github.com/python-kasa/python-kasa/pull/847) (@Adriandorr)
146
+ - Support for new ks240 fan/light wall switch [\#839](https://github.com/python-kasa/python-kasa/pull/839) (@sdb9696)
147
+ - Add P100 fw 1.4.0 fixture [\#820](https://github.com/python-kasa/python-kasa/pull/820) (@sdb9696)
148
+ - Add fixture for P110 sw 1.0.7 [\#801](https://github.com/python-kasa/python-kasa/pull/801) (@rytilahti)
149
+ - Add updated l530 fixture 1.1.6 [\#792](https://github.com/python-kasa/python-kasa/pull/792) (@rytilahti)
150
+ - Fix devtools for P100 and add fixture [\#753](https://github.com/python-kasa/python-kasa/pull/753) (@sdb9696)
151
+ - Add H100 fixtures [\#737](https://github.com/python-kasa/python-kasa/pull/737) (@rytilahti)
152
+
153
+ **Documentation updates:**
154
+
155
+ - Cleanup README to use the new cli format [\#999](https://github.com/python-kasa/python-kasa/pull/999) (@rytilahti)
156
+ - Add 0.7 api changes section to docs [\#996](https://github.com/python-kasa/python-kasa/pull/996) (@sdb9696)
157
+ - Update README to be more approachable for new users [\#994](https://github.com/python-kasa/python-kasa/pull/994) (@rytilahti)
158
+ - Update docs with more howto examples [\#968](https://github.com/python-kasa/python-kasa/pull/968) (@sdb9696)
159
+ - Update documentation structure and start migrating to markdown [\#934](https://github.com/python-kasa/python-kasa/pull/934) (@sdb9696)
160
+ - Add tutorial doctest module and enable top level await [\#919](https://github.com/python-kasa/python-kasa/pull/919) (@sdb9696)
161
+ - Add warning about tapo watchdog [\#902](https://github.com/python-kasa/python-kasa/pull/902) (@rytilahti)
162
+ - Move contribution instructions into docs [\#901](https://github.com/python-kasa/python-kasa/pull/901) (@rytilahti)
163
+ - Add rust tapo link to README [\#857](https://github.com/python-kasa/python-kasa/pull/857) (@rytilahti)
164
+ - Enable shell extra for installing ptpython and rich [\#782](https://github.com/python-kasa/python-kasa/pull/782) (@sdb9696)
165
+ - Add WallSwitch device type and autogenerate supported devices docs [\#758](https://github.com/python-kasa/python-kasa/pull/758) (@sdb9696)
166
+
167
+ **Project maintenance:**
168
+
169
+ - Drop python3.8 support [\#992](https://github.com/python-kasa/python-kasa/pull/992) (@rytilahti)
170
+ - Remove anyio dependency from pyproject.toml [\#990](https://github.com/python-kasa/python-kasa/pull/990) (@sdb9696)
171
+ - Configure mypy to run in virtual environment and fix resulting issues [\#989](https://github.com/python-kasa/python-kasa/pull/989) (@sdb9696)
172
+ - Better checking of child modules not supported by parent device [\#966](https://github.com/python-kasa/python-kasa/pull/966) (@sdb9696)
173
+ - Use freezegun for testing aes http client delays [\#954](https://github.com/python-kasa/python-kasa/pull/954) (@sdb9696)
174
+ - Fix passing custom port for dump\_devinfo [\#938](https://github.com/python-kasa/python-kasa/pull/938) (@rytilahti)
175
+ - Update release playbook [\#932](https://github.com/python-kasa/python-kasa/pull/932) (@rytilahti)
176
+ - Deprecate device level light, effect and led attributes [\#916](https://github.com/python-kasa/python-kasa/pull/916) (@sdb9696)
177
+ - Update cli to use common modules and remove iot specific cli testing [\#913](https://github.com/python-kasa/python-kasa/pull/913) (@sdb9696)
178
+ - Deprecate is\_something attributes [\#912](https://github.com/python-kasa/python-kasa/pull/912) (@sdb9696)
179
+ - Make Light and Fan a common module interface [\#911](https://github.com/python-kasa/python-kasa/pull/911) (@sdb9696)
180
+ - Rename bulb interface to light and move fan and light interface to interfaces [\#910](https://github.com/python-kasa/python-kasa/pull/910) (@sdb9696)
181
+ - Make module names consistent and remove redundant module casting [\#909](https://github.com/python-kasa/python-kasa/pull/909) (@sdb9696)
182
+ - Add child devices from hubs to generated list of supported devices [\#898](https://github.com/python-kasa/python-kasa/pull/898) (@sdb9696)
183
+ - Update interfaces so they all inherit from Device [\#893](https://github.com/python-kasa/python-kasa/pull/893) (@sdb9696)
184
+ - Update ks240 fixture with child device query info [\#890](https://github.com/python-kasa/python-kasa/pull/890) (@sdb9696)
185
+ - Use pydantic.v1 namespace on all pydantic versions [\#883](https://github.com/python-kasa/python-kasa/pull/883) (@rytilahti)
186
+ - Update dump\_devinfo to print original exception stack on errors. [\#882](https://github.com/python-kasa/python-kasa/pull/882) (@sdb9696)
187
+ - Put modules back on children for wall switches [\#881](https://github.com/python-kasa/python-kasa/pull/881) (@sdb9696)
188
+ - Fix pypy39 CI cache on macos [\#868](https://github.com/python-kasa/python-kasa/pull/868) (@sdb9696)
189
+ - Do not try coverage upload for pypy [\#867](https://github.com/python-kasa/python-kasa/pull/867) (@sdb9696)
190
+ - Add runner.arch to cache-key in CI [\#866](https://github.com/python-kasa/python-kasa/pull/866) (@sdb9696)
191
+ - Fix broken CI due to missing python version on macos-latest [\#864](https://github.com/python-kasa/python-kasa/pull/864) (@sdb9696)
192
+ - Fix incorrect state updates in FakeTestProtocols [\#861](https://github.com/python-kasa/python-kasa/pull/861) (@sdb9696)
193
+ - Embed FeatureType inside Feature [\#860](https://github.com/python-kasa/python-kasa/pull/860) (@rytilahti)
194
+ - Include component\_nego with child fixtures [\#858](https://github.com/python-kasa/python-kasa/pull/858) (@sdb9696)
195
+ - Use brightness module for smartbulb [\#853](https://github.com/python-kasa/python-kasa/pull/853) (@rytilahti)
196
+ - Ignore system environment variables for tests [\#851](https://github.com/python-kasa/python-kasa/pull/851) (@rytilahti)
197
+ - Remove mock fixtures [\#845](https://github.com/python-kasa/python-kasa/pull/845) (@rytilahti)
198
+ - Enable and convert to future annotations [\#838](https://github.com/python-kasa/python-kasa/pull/838) (@sdb9696)
199
+ - Update poetry locks and pre-commit hooks [\#837](https://github.com/python-kasa/python-kasa/pull/837) (@sdb9696)
200
+ - Cache pipx in CI and add custom setup action [\#835](https://github.com/python-kasa/python-kasa/pull/835) (@sdb9696)
201
+ - Fix non python 3.8 compliant test [\#832](https://github.com/python-kasa/python-kasa/pull/832) (@sdb9696)
202
+ - Fix CI issue with python version used by pipx to install poetry [\#831](https://github.com/python-kasa/python-kasa/pull/831) (@sdb9696)
203
+ - Refactor split smartdevice tests to test\_{iot,smart}device [\#822](https://github.com/python-kasa/python-kasa/pull/822) (@rytilahti)
204
+ - Add pre-commit caching and fix poetry extras cache [\#817](https://github.com/python-kasa/python-kasa/pull/817) (@sdb9696)
205
+ - Fix slow aestransport and cli tests [\#816](https://github.com/python-kasa/python-kasa/pull/816) (@sdb9696)
206
+ - Do not run coverage on pypy and cache poetry envs [\#812](https://github.com/python-kasa/python-kasa/pull/812) (@sdb9696)
207
+ - Update test framework for dynamic parametrization [\#810](https://github.com/python-kasa/python-kasa/pull/810) (@sdb9696)
208
+ - Put child fixtures in subfolder [\#809](https://github.com/python-kasa/python-kasa/pull/809) (@sdb9696)
209
+ - Simplify device \_\_repr\_\_ [\#805](https://github.com/python-kasa/python-kasa/pull/805) (@rytilahti)
210
+ - Add T315 fixture, tests for humidity&temperature modules [\#802](https://github.com/python-kasa/python-kasa/pull/802) (@rytilahti)
211
+ - Do not fail fast on pypy CI jobs [\#799](https://github.com/python-kasa/python-kasa/pull/799) (@sdb9696)
212
+ - Update dump\_devinfo to collect child device info [\#796](https://github.com/python-kasa/python-kasa/pull/796) (@sdb9696)
213
+ - Refactor test framework [\#794](https://github.com/python-kasa/python-kasa/pull/794) (@sdb9696)
214
+ - Add missing firmware module import [\#774](https://github.com/python-kasa/python-kasa/pull/774) (@rytilahti)
215
+ - Fix dump\_devinfo scrubbing for ks240 [\#765](https://github.com/python-kasa/python-kasa/pull/765) (@rytilahti)
216
+ - Rename and deprecate exception classes [\#739](https://github.com/python-kasa/python-kasa/pull/739) (@sdb9696)
217
+ - Refactor devices into subpackages and deprecate old names [\#716](https://github.com/python-kasa/python-kasa/pull/716) (@sdb9696)
218
+
3
219
  ## [0.6.2.1](https://github.com/python-kasa/python-kasa/tree/0.6.2.1) (2024-02-02)
4
220
 
5
221
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.2...0.6.2.1)
@@ -8,22 +224,24 @@
8
224
 
9
225
  - Avoid crashing on childdevice property accesses [\#732](https://github.com/python-kasa/python-kasa/pull/732) (@rytilahti)
10
226
 
11
- **Merged pull requests:**
227
+ **Added support for devices:**
12
228
 
13
- - Retain last two chars for children device\_id [\#733](https://github.com/python-kasa/python-kasa/pull/733) (@rytilahti)
14
229
  - Add TP15 fixture [\#730](https://github.com/python-kasa/python-kasa/pull/730) (@bdraco)
15
230
  - Add TP25 fixtures [\#729](https://github.com/python-kasa/python-kasa/pull/729) (@bdraco)
231
+
232
+ **Project maintenance:**
233
+
16
234
  - Various test code cleanups [\#725](https://github.com/python-kasa/python-kasa/pull/725) (@rytilahti)
17
235
  - Unignore F401 for tests [\#724](https://github.com/python-kasa/python-kasa/pull/724) (@rytilahti)
18
236
 
237
+ **Merged pull requests:**
238
+
239
+ - Retain last two chars for children device\_id [\#733](https://github.com/python-kasa/python-kasa/pull/733) (@rytilahti)
240
+
19
241
  ## [0.6.2](https://github.com/python-kasa/python-kasa/tree/0.6.2) (2024-01-29)
20
242
 
21
243
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.1...0.6.2)
22
244
 
23
- Release highlights:
24
- * Support for tapo power strips (P300)
25
- * Performance improvements and bug fixes
26
-
27
245
  **Implemented enhancements:**
28
246
 
29
247
  - Implement alias set for tapodevice [\#721](https://github.com/python-kasa/python-kasa/pull/721) (@rytilahti)
@@ -38,36 +256,33 @@ Release highlights:
38
256
 
39
257
  - Fix TapoBulb state information for non-dimmable SMARTSWITCH [\#726](https://github.com/python-kasa/python-kasa/pull/726) (@sdb9696)
40
258
 
259
+ **Added support for devices:**
260
+
261
+ - Update L510E\(US\) fixture with mac prefix [\#722](https://github.com/python-kasa/python-kasa/pull/722) (@sdb9696)
262
+ - Add P300 fixture [\#717](https://github.com/python-kasa/python-kasa/pull/717) (@rytilahti)
263
+
41
264
  **Documentation updates:**
42
265
 
43
266
  - Add protocol and transport documentation [\#663](https://github.com/python-kasa/python-kasa/pull/663) (@sdb9696)
44
267
 
45
- **Closed issues:**
268
+ **Project maintenance:**
46
269
 
47
- - Need to be able to both close and reset transports [\#671](https://github.com/python-kasa/python-kasa/issues/671)
48
- - Improve re-use of protocol code, particularly around retry logic and the IotProtocol [\#649](https://github.com/python-kasa/python-kasa/issues/649)
270
+ - Use hashlib in place of hashes.Hash [\#714](https://github.com/python-kasa/python-kasa/pull/714) (@bdraco)
271
+ - Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport [\#710](https://github.com/python-kasa/python-kasa/pull/710) (@sdb9696)
49
272
 
50
273
  **Merged pull requests:**
51
274
 
52
- - Prepare 0.6.2 [\#728](https://github.com/python-kasa/python-kasa/pull/728) (@rytilahti)
53
- - Update L510E\(US\) fixture with mac prefix [\#722](https://github.com/python-kasa/python-kasa/pull/722) (@sdb9696)
54
- - Use hashlib in place of hashes.Hash [\#714](https://github.com/python-kasa/python-kasa/pull/714) (@bdraco)
55
- - Switch from TPLinkSmartHomeProtocol to IotProtocol/XorTransport [\#710](https://github.com/python-kasa/python-kasa/pull/710) (@sdb9696)
56
- - Add P300 fixture [\#717](https://github.com/python-kasa/python-kasa/pull/717) (@rytilahti)
57
275
  - Add concrete XorTransport class with full implementation [\#646](https://github.com/python-kasa/python-kasa/pull/646) (@sdb9696)
58
276
 
59
277
  ## [0.6.1](https://github.com/python-kasa/python-kasa/tree/0.6.1) (2024-01-25)
60
278
 
61
279
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.0.1...0.6.1)
62
280
 
63
- Release highlights:
64
- * Support for tapo wall switches
65
- * Support for unprovisioned devices
66
- * Performance and stability improvements
67
-
68
281
  **Implemented enhancements:**
69
282
 
70
283
  - Add support for tapo wall switches \(S500D\) [\#704](https://github.com/python-kasa/python-kasa/pull/704) (@bdraco)
284
+ - Add L930-5 fixture [\#694](https://github.com/python-kasa/python-kasa/pull/694) (@bdraco)
285
+ - Add fixtures for L510E [\#693](https://github.com/python-kasa/python-kasa/pull/693) (@bdraco)
71
286
  - Add new cli command 'command' to execute arbitrary commands [\#692](https://github.com/python-kasa/python-kasa/pull/692) (@rytilahti)
72
287
  - Allow raw-command and wifi without update [\#688](https://github.com/python-kasa/python-kasa/pull/688) (@rytilahti)
73
288
  - Generate AES KeyPair lazily [\#687](https://github.com/python-kasa/python-kasa/pull/687) (@sdb9696)
@@ -83,23 +298,15 @@ Release highlights:
83
298
 
84
299
  - Document authenticated provisioning [\#634](https://github.com/python-kasa/python-kasa/pull/634) (@rytilahti)
85
300
 
86
- **Closed issues:**
301
+ **Project maintenance:**
87
302
 
88
- - how to provision new Tapo plug devices? [\#565](https://github.com/python-kasa/python-kasa/issues/565)
89
- - Space out discovery requests [\#229](https://github.com/python-kasa/python-kasa/issues/229)
90
- - Consider handshake as still valid on ServerDisconnectedError [\#676](https://github.com/python-kasa/python-kasa/issues/676)
91
- - AES Transport creates the key even if the device is offline [\#675](https://github.com/python-kasa/python-kasa/issues/675)
303
+ - Add additional L900-10 fixture [\#707](https://github.com/python-kasa/python-kasa/pull/707) (@bdraco)
304
+ - Replace rich formatting stripper [\#706](https://github.com/python-kasa/python-kasa/pull/706) (@bdraco)
92
305
 
93
306
  **Merged pull requests:**
94
307
 
95
- - Prepare 0.6.1 [\#709](https://github.com/python-kasa/python-kasa/pull/709) (@rytilahti)
96
- - Add additional L900-10 fixture [\#707](https://github.com/python-kasa/python-kasa/pull/707) (@bdraco)
97
- - Replace rich formatting stripper [\#706](https://github.com/python-kasa/python-kasa/pull/706) (@bdraco)
98
- - Add support for the S500 [\#705](https://github.com/python-kasa/python-kasa/pull/705) (@bdraco)
99
308
  - Fix overly greedy \_strip\_rich\_formatting [\#703](https://github.com/python-kasa/python-kasa/pull/703) (@bdraco)
100
309
  - Update readme fixture checker and readme [\#699](https://github.com/python-kasa/python-kasa/pull/699) (@rytilahti)
101
- - Add L930-5 fixture [\#694](https://github.com/python-kasa/python-kasa/pull/694) (@bdraco)
102
- - Add fixtures for L510E [\#693](https://github.com/python-kasa/python-kasa/pull/693) (@bdraco)
103
310
  - Update transport close/reset behaviour [\#689](https://github.com/python-kasa/python-kasa/pull/689) (@sdb9696)
104
311
  - Check README for supported models [\#684](https://github.com/python-kasa/python-kasa/pull/684) (@rytilahti)
105
312
  - Add P100 test fixture [\#683](https://github.com/python-kasa/python-kasa/pull/683) (@bdraco)
@@ -110,6 +317,7 @@ Release highlights:
110
317
  - Add L530E\(US\) fixture [\#674](https://github.com/python-kasa/python-kasa/pull/674) (@bdraco)
111
318
  - Add P135 fixture [\#673](https://github.com/python-kasa/python-kasa/pull/673) (@bdraco)
112
319
  - Rename base TPLinkProtocol to BaseProtocol [\#669](https://github.com/python-kasa/python-kasa/pull/669) (@sdb9696)
320
+ - Add support for the S500 [\#705](https://github.com/python-kasa/python-kasa/pull/705) (@bdraco)
113
321
  - Ensure login token is only sent if aes state is ESTABLISHED [\#702](https://github.com/python-kasa/python-kasa/pull/702) (@bdraco)
114
322
  - Fix test\_klapprotocol test duration [\#698](https://github.com/python-kasa/python-kasa/pull/698) (@sdb9696)
115
323
  - Renew the handshake session 20 minutes before we think it will expire [\#697](https://github.com/python-kasa/python-kasa/pull/697) (@bdraco)
@@ -121,20 +329,13 @@ Release highlights:
121
329
 
122
330
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.6.0...0.6.0.1)
123
331
 
124
- A patch release to improve the protocol handling.
125
-
126
332
  **Fixed bugs:**
127
333
 
128
334
  - Fix httpclient exceptions on read and improve error info [\#655](https://github.com/python-kasa/python-kasa/pull/655) (@sdb9696)
129
335
  - Improve and document close behavior [\#654](https://github.com/python-kasa/python-kasa/pull/654) (@bdraco)
130
336
 
131
- **Closed issues:**
132
-
133
- - Do not redact OUI for fixtures [\#652](https://github.com/python-kasa/python-kasa/issues/652)
134
-
135
337
  **Merged pull requests:**
136
338
 
137
- - Release 0.6.0.1 [\#666](https://github.com/python-kasa/python-kasa/pull/666) (@rytilahti)
138
339
  - Add l900-5 1.1.0 fixture [\#664](https://github.com/python-kasa/python-kasa/pull/664) (@rytilahti)
139
340
  - Add fixtures with new MAC mask [\#661](https://github.com/python-kasa/python-kasa/pull/661) (@sdb9696)
140
341
  - Make close behaviour consistent across new protocols and transports [\#660](https://github.com/python-kasa/python-kasa/pull/660) (@sdb9696)
@@ -145,19 +346,6 @@ A patch release to improve the protocol handling.
145
346
 
146
347
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.4...0.6.0)
147
348
 
148
- 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!
149
-
150
- This release adds support to a large range of previously unsupported devices, including:
151
-
152
- * Newer kasa-branded devices, including Matter-enabled devices like KP125M
153
- * Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
154
- * Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
155
- * UK variant of HS110, which was the first device using the new protocol
156
-
157
- If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
158
-
159
- Special thanks goes to @SimonWilkinson who created the initial PR for the new communication protocol!
160
-
161
349
  **Breaking changes:**
162
350
 
163
351
  - Add DeviceConfig to allow specifying configuration parameters [\#569](https://github.com/python-kasa/python-kasa/pull/569) (@sdb9696)
@@ -165,9 +353,6 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
165
353
 
166
354
  **Implemented enhancements:**
167
355
 
168
- - Support for KS225\(US\) Light Dimmer and KS205\(US\) Light Switch [\#589](https://github.com/python-kasa/python-kasa/issues/589)
169
- - Set timeout using command line parameters [\#310](https://github.com/python-kasa/python-kasa/issues/310)
170
- - Implement the new protocol \(HTTP over 80/tcp, 20002/udp for discovery\) [\#115](https://github.com/python-kasa/python-kasa/issues/115)
171
356
  - Get child emeters with CLI [\#623](https://github.com/python-kasa/python-kasa/pull/623) (@Obbay2)
172
357
  - Avoid linear search for emeter realtime and emeter\_today [\#622](https://github.com/python-kasa/python-kasa/pull/622) (@bdraco)
173
358
  - Add update-credentials command [\#620](https://github.com/python-kasa/python-kasa/pull/620) (@rytilahti)
@@ -194,7 +379,6 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
194
379
 
195
380
  **Fixed bugs:**
196
381
 
197
- - dump\_devinfo crashes when credentials are not given [\#591](https://github.com/python-kasa/python-kasa/issues/591)
198
382
  - Fix connection indeterminate state on cancellation [\#636](https://github.com/python-kasa/python-kasa/pull/636) (@bdraco)
199
383
  - Check the ct range for color temp support [\#619](https://github.com/python-kasa/python-kasa/pull/619) (@rytilahti)
200
384
  - Fix cli discover bug with None username/password [\#615](https://github.com/python-kasa/python-kasa/pull/615) (@sdb9696)
@@ -203,51 +387,28 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
203
387
 
204
388
  **Documentation updates:**
205
389
 
206
- - Update the documentation for 0.6 release [\#600](https://github.com/python-kasa/python-kasa/issues/600)
207
390
  - Update docs for newer devices and DeviceConfig [\#614](https://github.com/python-kasa/python-kasa/pull/614) (@sdb9696)
208
391
  - Update readme with clearer instructions, tapo support [\#571](https://github.com/python-kasa/python-kasa/pull/571) (@rytilahti)
209
392
  - Add some more external links to README [\#541](https://github.com/python-kasa/python-kasa/pull/541) (@rytilahti)
210
393
 
211
- **Closed issues:**
212
-
213
- - KS225 support [\#631](https://github.com/python-kasa/python-kasa/issues/631)
214
- - Discover returns dictionary with no 'alias' property [\#592](https://github.com/python-kasa/python-kasa/issues/592)
215
- - Sending with the legacy protocol is needlessly delayed [\#553](https://github.com/python-kasa/python-kasa/issues/553)
216
- - Issues adding a KP405 device [\#549](https://github.com/python-kasa/python-kasa/issues/549)
217
- - Support for L510E bulb [\#547](https://github.com/python-kasa/python-kasa/issues/547)
218
- - Support for tapo L530E bulbs? [\#546](https://github.com/python-kasa/python-kasa/issues/546)
219
- - Unable to connect to host on different subnet with 0.5.4 [\#545](https://github.com/python-kasa/python-kasa/issues/545)
220
- - Discovery/Connect broken when upgrading from 0.5.3 -\> 0.5.4 [\#543](https://github.com/python-kasa/python-kasa/issues/543)
221
- - PydanticUserError, If you use `@root_validator` with pre=False \(the default\) you MUST specify `skip_on_failure=True` [\#516](https://github.com/python-kasa/python-kasa/issues/516)
222
- - Implement energy and usage for individual plugs in HS300 [\#462](https://github.com/python-kasa/python-kasa/issues/462)
223
- - KP 125M / support for matter devices [\#450](https://github.com/python-kasa/python-kasa/issues/450)
224
- - Convert to use aiohttp instead of httpx [\#635](https://github.com/python-kasa/python-kasa/issues/635)
225
- - Need to do error code checking for new protocols [\#612](https://github.com/python-kasa/python-kasa/issues/612)
226
- - Support of last firmware update version 1.3.0 [\#611](https://github.com/python-kasa/python-kasa/issues/611)
227
- - Improve test coverage for tapodevice class [\#608](https://github.com/python-kasa/python-kasa/issues/608)
228
-
229
394
  **Merged pull requests:**
230
395
 
231
- - Release 0.6.0 [\#653](https://github.com/python-kasa/python-kasa/pull/653) (@rytilahti)
232
396
  - Remove time logging in debug message [\#645](https://github.com/python-kasa/python-kasa/pull/645) (@sdb9696)
233
397
  - Migrate http client to use aiohttp instead of httpx [\#643](https://github.com/python-kasa/python-kasa/pull/643) (@sdb9696)
234
398
  - Encapsulate http client dependency [\#642](https://github.com/python-kasa/python-kasa/pull/642) (@sdb9696)
235
399
  - Fix broken docs due to applehelp dependency [\#641](https://github.com/python-kasa/python-kasa/pull/641) (@sdb9696)
236
400
  - Raise SmartDeviceException on invalid config dicts [\#640](https://github.com/python-kasa/python-kasa/pull/640) (@sdb9696)
237
401
  - Add fixture for L920 [\#638](https://github.com/python-kasa/python-kasa/pull/638) (@bdraco)
238
- - Release 0.6.0.dev2 [\#633](https://github.com/python-kasa/python-kasa/pull/633) (@rytilahti)
239
402
  - Raise TimeoutException on discover\_single timeout [\#632](https://github.com/python-kasa/python-kasa/pull/632) (@sdb9696)
240
403
  - Add L900-10 fixture and it's additional component requests [\#629](https://github.com/python-kasa/python-kasa/pull/629) (@sdb9696)
241
404
  - Avoid recreating struct each request in legacy protocol [\#628](https://github.com/python-kasa/python-kasa/pull/628) (@bdraco)
242
405
  - Return alias as None for new discovery devices before update [\#627](https://github.com/python-kasa/python-kasa/pull/627) (@sdb9696)
243
406
  - Update config to\_dict to exclude credentials if the hash is empty string [\#626](https://github.com/python-kasa/python-kasa/pull/626) (@sdb9696)
244
407
  - Improve test coverage [\#625](https://github.com/python-kasa/python-kasa/pull/625) (@sdb9696)
245
- - Release 0.6.0.dev1 [\#624](https://github.com/python-kasa/python-kasa/pull/624) (@rytilahti)
246
408
  - Add P125M and update EP25 fixtures [\#621](https://github.com/python-kasa/python-kasa/pull/621) (@bdraco)
247
409
  - Use consistent envvars for dump\_devinfo credentials [\#618](https://github.com/python-kasa/python-kasa/pull/618) (@rytilahti)
248
410
  - Mark L900-5 as supported [\#617](https://github.com/python-kasa/python-kasa/pull/617) (@rytilahti)
249
411
  - Ship CHANGELOG only in sdist [\#610](https://github.com/python-kasa/python-kasa/pull/610) (@rytilahti)
250
- - Release 0.6.0.dev0 [\#609](https://github.com/python-kasa/python-kasa/pull/609) (@rytilahti)
251
412
  - Cleanup credentials handling [\#605](https://github.com/python-kasa/python-kasa/pull/605) (@rytilahti)
252
413
  - Update P110\(EU\) fixture [\#604](https://github.com/python-kasa/python-kasa/pull/604) (@rytilahti)
253
414
  - Update L530 aes fixture [\#603](https://github.com/python-kasa/python-kasa/pull/603) (@rytilahti)
@@ -272,15 +433,6 @@ Special thanks goes to @SimonWilkinson who created the initial PR for the new co
272
433
 
273
434
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.3...0.5.4)
274
435
 
275
- The highlights of this maintenance release:
276
-
277
- * Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
278
- * Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
279
- * Optimizations for downstream device accesses, thanks to @bdraco.
280
- * Support for both pydantic v1 and v2.
281
-
282
- As always, see the full changelog for details.
283
-
284
436
  **Implemented enhancements:**
285
437
 
286
438
  - Add a connect\_single method to Discover to avoid the need for UDP [\#528](https://github.com/python-kasa/python-kasa/pull/528) (@bdraco)
@@ -305,24 +457,8 @@ As always, see the full changelog for details.
305
457
  - Mark KS2{20}M as partially supported [\#508](https://github.com/python-kasa/python-kasa/pull/508) (@lschweiss)
306
458
  - Document cli tool --target for discovery [\#497](https://github.com/python-kasa/python-kasa/pull/497) (@rytilahti)
307
459
 
308
- **Closed issues:**
309
-
310
- - Error running kasa command on the Raspberry PI [\#525](https://github.com/python-kasa/python-kasa/issues/525)
311
- - Installation Problems \(Python Version?\) [\#523](https://github.com/python-kasa/python-kasa/issues/523)
312
- - What are the units in the emeter readings? [\#514](https://github.com/python-kasa/python-kasa/issues/514)
313
- - Set Alias via Command Line [\#511](https://github.com/python-kasa/python-kasa/issues/511)
314
- - How do I know if my device supports emeter? [\#510](https://github.com/python-kasa/python-kasa/issues/510)
315
- - Getting Invalid KeyError when getting sysinfo on an EP40 device [\#500](https://github.com/python-kasa/python-kasa/issues/500)
316
- - Running kasa discover on subnet broadcasts only [\#496](https://github.com/python-kasa/python-kasa/issues/496)
317
- - Failed to discover kasa switchs on the network [\#495](https://github.com/python-kasa/python-kasa/issues/495)
318
- - \[Feature Request\] Add a toggle command [\#492](https://github.com/python-kasa/python-kasa/issues/492)
319
- - \[Feature Request\] Pydantic 2.0+ Support [\#491](https://github.com/python-kasa/python-kasa/issues/491)
320
- - Support for EP10 Plug [\#170](https://github.com/python-kasa/python-kasa/issues/170)
321
- - \[Request\] New release to pip? [\#518](https://github.com/python-kasa/python-kasa/issues/518)
322
-
323
460
  **Merged pull requests:**
324
461
 
325
- - Release 0.5.4 [\#536](https://github.com/python-kasa/python-kasa/pull/536) (@rytilahti)
326
462
  - Use ruff and ruff format [\#534](https://github.com/python-kasa/python-kasa/pull/534) (@rytilahti)
327
463
  - Add python3.12 and pypy-3.10 to CI [\#532](https://github.com/python-kasa/python-kasa/pull/532) (@rytilahti)
328
464
  - Use trusted publisher for publishing to pypi [\#531](https://github.com/python-kasa/python-kasa/pull/531) (@rytilahti)
@@ -335,8 +471,6 @@ As always, see the full changelog for details.
335
471
 
336
472
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.2...0.5.3)
337
473
 
338
- This release adds support for defining the device port and introduces dependency on async-timeout which improves timeout handling.
339
-
340
474
  **Implemented enhancements:**
341
475
 
342
476
  - Make device port configurable [\#471](https://github.com/python-kasa/python-kasa/pull/471) (@karpach)
@@ -347,7 +481,6 @@ This release adds support for defining the device port and introduces dependency
347
481
 
348
482
  **Merged pull requests:**
349
483
 
350
- - Release 0.5.3 [\#485](https://github.com/python-kasa/python-kasa/pull/485) (@rytilahti)
351
484
  - Add tests for KP200 [\#483](https://github.com/python-kasa/python-kasa/pull/483) (@bdraco)
352
485
  - Update pyyaml to fix CI [\#482](https://github.com/python-kasa/python-kasa/pull/482) (@bdraco)
353
486
 
@@ -355,10 +488,6 @@ This release adds support for defining the device port and introduces dependency
355
488
 
356
489
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.1...0.5.2)
357
490
 
358
- Besides some small improvements, this release:
359
- * Adds optional dependency for for `orjson` and `kasa-crypt` to speed-up protocol handling by an order of magnitude.
360
- * Drops Python 3.7 support as it is no longer maintained.
361
-
362
491
  **Breaking changes:**
363
492
 
364
493
  - Drop python 3.7 support [\#455](https://github.com/python-kasa/python-kasa/pull/455) (@rytilahti)
@@ -372,27 +501,12 @@ Besides some small improvements, this release:
372
501
 
373
502
  **Fixed bugs:**
374
503
 
375
- - Request for KP405 Support - Dimmable Plug [\#469](https://github.com/python-kasa/python-kasa/issues/469)
376
- - Issue printing device in on\_discovered: pydantic.error\_wrappers.ValidationError: 3 validation errors for SmartBulbPreset [\#439](https://github.com/python-kasa/python-kasa/issues/439)
377
- - Possible firmware issue with KL125 \(1.0.7 Build 211009 Rel.172044\) [\#345](https://github.com/python-kasa/python-kasa/issues/345)
378
504
  - Exclude querying certain modules for KL125\(US\) which cause crashes [\#451](https://github.com/python-kasa/python-kasa/pull/451) (@brianthedavis)
379
505
  - Return result objects for cli discover and implicit 'state' [\#446](https://github.com/python-kasa/python-kasa/pull/446) (@rytilahti)
380
506
  - Allow effect presets seen on light strips [\#440](https://github.com/python-kasa/python-kasa/pull/440) (@rytilahti)
381
507
 
382
- **Closed issues:**
383
-
384
- - Powershell version? [\#461](https://github.com/python-kasa/python-kasa/issues/461)
385
- - Add `set_cold_time` to Motion module [\#452](https://github.com/python-kasa/python-kasa/issues/452)
386
- - Discover.discover\(\) only returning ip adress on ep10 outlet [\#447](https://github.com/python-kasa/python-kasa/issues/447)
387
- - Query current wifi config? [\#445](https://github.com/python-kasa/python-kasa/issues/445)
388
- - bulb.turn\_off making device undiscoverable [\#444](https://github.com/python-kasa/python-kasa/issues/444)
389
- - best privacy practices for Kasa devices [\#438](https://github.com/python-kasa/python-kasa/issues/438)
390
- - Access device from different network [\#424](https://github.com/python-kasa/python-kasa/issues/424)
391
- - Lots of test failure with 0.5.0 [\#411](https://github.com/python-kasa/python-kasa/issues/411)
392
-
393
508
  **Merged pull requests:**
394
509
 
395
- - Release 0.5.2 [\#475](https://github.com/python-kasa/python-kasa/pull/475) (@rytilahti)
396
510
  - Add benchmarks for speedups [\#473](https://github.com/python-kasa/python-kasa/pull/473) (@bdraco)
397
511
  - Add fixture for KP405 Smart Dimmer Plug [\#470](https://github.com/python-kasa/python-kasa/pull/470) (@xinud190)
398
512
  - Remove importlib-metadata dependency [\#457](https://github.com/python-kasa/python-kasa/pull/457) (@rytilahti)
@@ -403,13 +517,6 @@ Besides some small improvements, this release:
403
517
 
404
518
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.0...0.5.1)
405
519
 
406
- This minor release contains mostly small UX fine-tuning and documentation improvements alongside with bug fixes:
407
- * Improved console tool (JSON output, colorized output if rich is installed)
408
- * Pretty, colorized console output, if `rich` is installed
409
- * Support for configuring bulb presets
410
- * Usage data is now reported in the expected format
411
- * Dependency pinning is relaxed to give downstreams more control
412
-
413
520
  **Breaking changes:**
414
521
 
415
522
  - Implement changing the bulb turn-on behavior [\#381](https://github.com/python-kasa/python-kasa/pull/381) (@rytilahti)
@@ -426,16 +533,11 @@ This minor release contains mostly small UX fine-tuning and documentation improv
426
533
 
427
534
  **Fixed bugs:**
428
535
 
429
- - cli.py usage year and month options do not output data as expected [\#373](https://github.com/python-kasa/python-kasa/issues/373)
430
- - cli.py usage --year command passes year argument incorrectly [\#371](https://github.com/python-kasa/python-kasa/issues/371)
431
- - KP303 reporting as device off [\#319](https://github.com/python-kasa/python-kasa/issues/319)
432
- - HS210 not updating the state correctly [\#193](https://github.com/python-kasa/python-kasa/issues/193)
433
536
  - Fix year emeter for cli by using kwarg for year parameter [\#372](https://github.com/python-kasa/python-kasa/pull/372) (@rytilahti)
434
537
  - Return usage.get\_{monthstat,daystat} in expected format [\#394](https://github.com/python-kasa/python-kasa/pull/394) (@jules43)
435
538
 
436
539
  **Documentation updates:**
437
540
 
438
- - Update misleading docs about supported devices \(was: add support for EP25 plug\) [\#367](https://github.com/python-kasa/python-kasa/issues/367)
439
541
  - Minor fixes to smartbulb docs [\#431](https://github.com/python-kasa/python-kasa/pull/431) (@rytilahti)
440
542
  - Add a note that transition is not supported by all devices [\#398](https://github.com/python-kasa/python-kasa/pull/398) (@rytilahti)
441
543
  - fix more outdated CLI examples, remove EP40 from bulb list [\#383](https://github.com/python-kasa/python-kasa/pull/383) (@HankB)
@@ -445,37 +547,8 @@ This minor release contains mostly small UX fine-tuning and documentation improv
445
547
  - Update README to add missing models and fix a link [\#351](https://github.com/python-kasa/python-kasa/pull/351) (@rytilahti)
446
548
  - Add KP125 test fixture and support note. [\#350](https://github.com/python-kasa/python-kasa/pull/350) (@jalseth)
447
549
 
448
- **Closed issues:**
449
-
450
- - detecting when a switch changes state [\#427](https://github.com/python-kasa/python-kasa/issues/427)
451
- - discovery fails for aliases [\#426](https://github.com/python-kasa/python-kasa/issues/426)
452
- - traceback when no devices exist [\#425](https://github.com/python-kasa/python-kasa/issues/425)
453
- - Discover.discover\(\) in a cron that runs every 1 min [\#421](https://github.com/python-kasa/python-kasa/issues/421)
454
- - add Schedule rule? [\#418](https://github.com/python-kasa/python-kasa/issues/418)
455
- - Cannot find EP10 using kasa discover [\#417](https://github.com/python-kasa/python-kasa/issues/417)
456
- - modulenotfound error [\#414](https://github.com/python-kasa/python-kasa/issues/414)
457
- - Issue enabling motion sensor, ES20M\(US\) [\#408](https://github.com/python-kasa/python-kasa/issues/408)
458
- - HS103 not discovered by kasa CLI [\#406](https://github.com/python-kasa/python-kasa/issues/406)
459
- - Multiple warnings from running pytest due to asyncio issues [\#396](https://github.com/python-kasa/python-kasa/issues/396)
460
- - Transition ignored with KL420L5 light strips [\#389](https://github.com/python-kasa/python-kasa/issues/389)
461
- - cli.py passes a dictionary \(TYPE\_TO\_CLASS\) to click.Choice which takes a Sequence\[str\] [\#384](https://github.com/python-kasa/python-kasa/issues/384)
462
- - Error running `kasa wifi scan` [\#376](https://github.com/python-kasa/python-kasa/issues/376)
463
- - Unable to connect to brand new EP40 v1.8 [\#366](https://github.com/python-kasa/python-kasa/issues/366)
464
- - Add support for setting default behaviors for a soft or hard power on of the bulb [\#365](https://github.com/python-kasa/python-kasa/issues/365)
465
- - Set bulb hue using variable [\#361](https://github.com/python-kasa/python-kasa/issues/361)
466
- - Help with SmartLightStrip set\_custom\_effect [\#360](https://github.com/python-kasa/python-kasa/issues/360)
467
- - Import "kasa" could not be resolved [\#357](https://github.com/python-kasa/python-kasa/issues/357)
468
- - Wall switch ES20M \(--type dimmer\) is working [\#353](https://github.com/python-kasa/python-kasa/issues/353)
469
- - HS107 reports `state` not `relay_state` throwing a `KeyError` [\#349](https://github.com/python-kasa/python-kasa/issues/349)
470
- - Error Installing On Windows 10 [\#347](https://github.com/python-kasa/python-kasa/issues/347)
471
- - Error using Kasa [\#346](https://github.com/python-kasa/python-kasa/issues/346)
472
- - KS220M\(US\) support [\#268](https://github.com/python-kasa/python-kasa/issues/268)
473
- - Add machine-readable output [\#209](https://github.com/python-kasa/python-kasa/issues/209)
474
- - Can we donate? [\#77](https://github.com/python-kasa/python-kasa/issues/77)
475
-
476
550
  **Merged pull requests:**
477
551
 
478
- - Prepare 0.5.1 [\#434](https://github.com/python-kasa/python-kasa/pull/434) (@rytilahti)
479
552
  - Some release preparation janitoring [\#432](https://github.com/python-kasa/python-kasa/pull/432) (@rytilahti)
480
553
  - Bump certifi from 2021.10.8 to 2022.12.7 [\#409](https://github.com/python-kasa/python-kasa/pull/409) (@dependabot[bot])
481
554
  - Add FUNDING.yml [\#402](https://github.com/python-kasa/python-kasa/pull/402) (@rytilahti)
@@ -496,59 +569,23 @@ This minor release contains mostly small UX fine-tuning and documentation improv
496
569
 
497
570
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.3...0.5.0)
498
571
 
499
- 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.
500
-
501
- 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):
502
- * Basic system info
503
- * Emeter
504
- * 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
505
- * Usage statistics - similar interface to emeter, but reports on-time statistics instead of energy consumption (new)
506
- * Countdown (new)
507
- * Antitheft (new)
508
- * Schedule (new)
509
- * Motion - for configuring motion settings on some dimmers (new)
510
- * Ambientlight - for configuring brightness limits when motion sensor actuates on some dimmers (new)
511
- * Cloud - information about cloud connectivity (new)
512
-
513
- For developers, the new functionalities are currently only exposed through the implementation modules accessible through `modules` property.
514
- Pull requests improving the functionality of modules as well as adding better interfaces to device classes are welcome!
515
-
516
572
  **Breaking changes:**
517
573
 
518
574
  - Drop deprecated, type-specific options in favor of --type [\#336](https://github.com/python-kasa/python-kasa/pull/336) (@rytilahti)
519
575
  - Convert the codebase to be more modular [\#299](https://github.com/python-kasa/python-kasa/pull/299) (@rytilahti)
520
576
 
521
- **Implemented enhancements:**
522
-
523
- - Improve HS220 support [\#44](https://github.com/python-kasa/python-kasa/issues/44)
524
-
525
577
  **Fixed bugs:**
526
578
 
527
- - Skip running discovery on --help on subcommands [\#122](https://github.com/python-kasa/python-kasa/issues/122)
528
579
  - Avoid retrying open\_connection on unrecoverable errors [\#340](https://github.com/python-kasa/python-kasa/pull/340) (@bdraco)
529
580
  - Avoid discovery on --help [\#335](https://github.com/python-kasa/python-kasa/pull/335) (@rytilahti)
530
581
 
531
582
  **Documentation updates:**
532
583
 
533
- - Trying to poll device every 5 seconds but getting asyncio errors [\#316](https://github.com/python-kasa/python-kasa/issues/316)
534
- - Docs: Smart Strip - Emeter feature Note [\#257](https://github.com/python-kasa/python-kasa/issues/257)
535
- - Documentation addition: Smartplug access to internet ntp server pool. [\#129](https://github.com/python-kasa/python-kasa/issues/129)
536
584
  - Export modules & make sphinx happy [\#334](https://github.com/python-kasa/python-kasa/pull/334) (@rytilahti)
537
585
  - Various documentation updates [\#333](https://github.com/python-kasa/python-kasa/pull/333) (@rytilahti)
538
586
 
539
- **Closed issues:**
540
-
541
- - "on since" changes [\#295](https://github.com/python-kasa/python-kasa/issues/295)
542
- - How to access KP115 runtime data? [\#244](https://github.com/python-kasa/python-kasa/issues/244)
543
- - How to resolve "Detected protocol reuse between different event loop" warning? [\#238](https://github.com/python-kasa/python-kasa/issues/238)
544
- - Handle discovery where multiple LAN interfaces exist [\#104](https://github.com/python-kasa/python-kasa/issues/104)
545
- - Hyper-V \(and probably virtualbox\) break UDP discovery [\#101](https://github.com/python-kasa/python-kasa/issues/101)
546
- - Trying to get extended lightstrip functionality [\#100](https://github.com/python-kasa/python-kasa/issues/100)
547
- - Can the HS105 be controlled without internet? [\#72](https://github.com/python-kasa/python-kasa/issues/72)
548
-
549
587
  **Merged pull requests:**
550
588
 
551
- - Prepare 0.5.0 [\#342](https://github.com/python-kasa/python-kasa/pull/342) (@rytilahti)
552
589
  - Add fixtures for kl420 [\#339](https://github.com/python-kasa/python-kasa/pull/339) (@bdraco)
553
590
 
554
591
  ## [0.4.3](https://github.com/python-kasa/python-kasa/tree/0.4.3) (2022-04-05)
@@ -557,16 +594,10 @@ Pull requests improving the functionality of modules as well as adding better in
557
594
 
558
595
  **Fixed bugs:**
559
596
 
560
- - Divide by zero when HS300 powerstrip is discovered [\#292](https://github.com/python-kasa/python-kasa/issues/292)
561
597
  - Ensure bulb state is restored when turning back on [\#330](https://github.com/python-kasa/python-kasa/pull/330) (@bdraco)
562
598
 
563
- **Closed issues:**
564
-
565
- - KL420L5 controls [\#327](https://github.com/python-kasa/python-kasa/issues/327)
566
-
567
599
  **Merged pull requests:**
568
600
 
569
- - Release 0.4.3 [\#332](https://github.com/python-kasa/python-kasa/pull/332) (@rytilahti)
570
601
  - Update pre-commit hooks to fix black in CI [\#331](https://github.com/python-kasa/python-kasa/pull/331) (@rytilahti)
571
602
  - Fix test\_deprecated\_type stalling [\#325](https://github.com/python-kasa/python-kasa/pull/325) (@bdraco)
572
603
 
@@ -583,24 +614,10 @@ Pull requests improving the functionality of modules as well as adding better in
583
614
 
584
615
  **Fixed bugs:**
585
616
 
586
- - TypeError: \_\_init\_\_\(\) got an unexpected keyword argument 'package\_name' [\#311](https://github.com/python-kasa/python-kasa/issues/311)
587
- - RuntimeError: Event loop is closed on WSL [\#294](https://github.com/python-kasa/python-kasa/issues/294)
588
617
  - Don't crash on devices not reporting features [\#317](https://github.com/python-kasa/python-kasa/pull/317) (@rytilahti)
589
618
 
590
- **Closed issues:**
591
-
592
- - SmartDeviceException: Communication error on system:set\_relay\_state [\#309](https://github.com/python-kasa/python-kasa/issues/309)
593
- - Add Support: ES20M and KS200M motion/light switches [\#308](https://github.com/python-kasa/python-kasa/issues/308)
594
- - New problem with installing on Ubuntu 20.04.3 LTS [\#305](https://github.com/python-kasa/python-kasa/issues/305)
595
- - KeyError: 'emeter' when discovering [\#302](https://github.com/python-kasa/python-kasa/issues/302)
596
- - RuntimeError: Event loop is closed [\#291](https://github.com/python-kasa/python-kasa/issues/291)
597
- - provisioning format [\#290](https://github.com/python-kasa/python-kasa/issues/290)
598
- - Fix CI publishing on pypi [\#222](https://github.com/python-kasa/python-kasa/issues/222)
599
- - LED strips effects are not supported \(was LEDs is not turning on after switching on\) [\#191](https://github.com/python-kasa/python-kasa/issues/191)
600
-
601
619
  **Merged pull requests:**
602
620
 
603
- - Release 0.4.2 [\#321](https://github.com/python-kasa/python-kasa/pull/321) (@rytilahti)
604
621
  - Add pyupgrade to CI runs [\#314](https://github.com/python-kasa/python-kasa/pull/314) (@rytilahti)
605
622
  - Depend on asyncclick \>= 8 [\#312](https://github.com/python-kasa/python-kasa/pull/312) (@rytilahti)
606
623
  - Guard emeter accesses to avoid keyerrors [\#304](https://github.com/python-kasa/python-kasa/pull/304) (@rytilahti)
@@ -632,31 +649,11 @@ Pull requests improving the functionality of modules as well as adding better in
632
649
 
633
650
  **Fixed bugs:**
634
651
 
635
- - Discovery on WSL results in OSError: \[Errno 22\] Invalid argument [\#246](https://github.com/python-kasa/python-kasa/issues/246)
636
- - New firmware for HS103 blocking local access? [\#42](https://github.com/python-kasa/python-kasa/issues/42)
637
652
  - Pin mistune to \<2.0.0 to fix doc builds [\#270](https://github.com/python-kasa/python-kasa/pull/270) (@rytilahti)
638
653
  - Catch exceptions raised on unknown devices during discovery [\#240](https://github.com/python-kasa/python-kasa/pull/240) (@rytilahti)
639
654
 
640
- **Closed issues:**
641
-
642
- - Control device with alias via python api? [\#285](https://github.com/python-kasa/python-kasa/issues/285)
643
- - Can't install using pip install python-kasa [\#255](https://github.com/python-kasa/python-kasa/issues/255)
644
- - Kasa Smart Bulb KL135 - Unknown color temperature range error [\#252](https://github.com/python-kasa/python-kasa/issues/252)
645
- - KL400 Support [\#247](https://github.com/python-kasa/python-kasa/issues/247)
646
- - Cloud support? [\#245](https://github.com/python-kasa/python-kasa/issues/245)
647
- - Support for kp401 [\#241](https://github.com/python-kasa/python-kasa/issues/241)
648
- - LB130 Bulb stopped working [\#237](https://github.com/python-kasa/python-kasa/issues/237)
649
- - Unable to constantly query bulb in loop [\#225](https://github.com/python-kasa/python-kasa/issues/225)
650
- - HS103: Unable to query the device: unpack requires a buffer of 4 bytes [\#187](https://github.com/python-kasa/python-kasa/issues/187)
651
- - Help request - query value [\#171](https://github.com/python-kasa/python-kasa/issues/171)
652
- - Can't Discover Devices [\#164](https://github.com/python-kasa/python-kasa/issues/164)
653
- - Concurrency performance question [\#110](https://github.com/python-kasa/python-kasa/issues/110)
654
- - Define the port by self? [\#108](https://github.com/python-kasa/python-kasa/issues/108)
655
- - Convert homeassistant integration to use the library [\#9](https://github.com/python-kasa/python-kasa/issues/9)
656
-
657
655
  **Merged pull requests:**
658
656
 
659
- - Prepare 0.4.1 [\#288](https://github.com/python-kasa/python-kasa/pull/288) (@rytilahti)
660
657
  - Publish to pypi on github release published [\#287](https://github.com/python-kasa/python-kasa/pull/287) (@rytilahti)
661
658
  - Relax asyncclick version requirement [\#286](https://github.com/python-kasa/python-kasa/pull/286) (@rytilahti)
662
659
  - Do not crash on discovery on WSL [\#283](https://github.com/python-kasa/python-kasa/pull/283) (@rytilahti)
@@ -671,8 +668,6 @@ Pull requests improving the functionality of modules as well as adding better in
671
668
 
672
669
  **Implemented enhancements:**
673
670
 
674
- - KL430 support [\#67](https://github.com/python-kasa/python-kasa/issues/67)
675
- - Improve retry logic for discovery, messaging \(was: Handle empty responses\) [\#38](https://github.com/python-kasa/python-kasa/issues/38)
676
671
  - Fix lock being unexpectedly reset on close [\#218](https://github.com/python-kasa/python-kasa/pull/218) (@bdraco)
677
672
  - Avoid calling pformat unless debug logging is enabled [\#217](https://github.com/python-kasa/python-kasa/pull/217) (@bdraco)
678
673
  - Keep connection open and lock to prevent duplicate requests [\#213](https://github.com/python-kasa/python-kasa/pull/213) (@bdraco)
@@ -689,10 +684,6 @@ Pull requests improving the functionality of modules as well as adding better in
689
684
 
690
685
  **Fixed bugs:**
691
686
 
692
- - KL430: Throw error for Device specific information [\#189](https://github.com/python-kasa/python-kasa/issues/189)
693
- - `Unable to find a value for 'current'` error when attempting to query KL125 bulb emeter [\#142](https://github.com/python-kasa/python-kasa/issues/142)
694
- - `Unknown color temperature range` error when attempting to query KL125 bulb state [\#141](https://github.com/python-kasa/python-kasa/issues/141)
695
- - HS300 Children plugs have emeter [\#64](https://github.com/python-kasa/python-kasa/issues/64)
696
687
  - dump\_devinfo: handle latitude/longitude keys properly [\#175](https://github.com/python-kasa/python-kasa/pull/175) (@rytilahti)
697
688
  - Simplify discovery query, refactor dump-devinfo [\#147](https://github.com/python-kasa/python-kasa/pull/147) (@rytilahti)
698
689
  - Return None instead of raising an exception on missing, valid emeter keys [\#146](https://github.com/python-kasa/python-kasa/pull/146) (@rytilahti)
@@ -701,60 +692,14 @@ Pull requests improving the functionality of modules as well as adding better in
701
692
 
702
693
  **Documentation updates:**
703
694
 
704
- - Discover does not support specifying network interface [\#167](https://github.com/python-kasa/python-kasa/issues/167)
705
- - Add ability to control individual sockets on KP400 [\#121](https://github.com/python-kasa/python-kasa/issues/121)
706
- - Improve poetry usage documentation [\#60](https://github.com/python-kasa/python-kasa/issues/60)
707
695
  - Improve cli documentation for bulbs and power strips [\#123](https://github.com/python-kasa/python-kasa/pull/123) (@rytilahti)
708
696
 
709
- **Closed issues:**
710
-
711
- - Debug logging in protocol.py is the majority of the execution time [\#216](https://github.com/python-kasa/python-kasa/issues/216)
712
- - Feature Request - Toggle Command [\#188](https://github.com/python-kasa/python-kasa/issues/188)
713
- - Is It Compatible With HS105? [\#186](https://github.com/python-kasa/python-kasa/issues/186)
714
- - Cannot use some functions with KP303 [\#181](https://github.com/python-kasa/python-kasa/issues/181)
715
- - Help needed - awaiting game [\#179](https://github.com/python-kasa/python-kasa/issues/179)
716
- - Version inconsistency between CLI and pip [\#177](https://github.com/python-kasa/python-kasa/issues/177)
717
- - Release 0.4.0.dev3? [\#169](https://github.com/python-kasa/python-kasa/issues/169)
718
- - After installing, command `kasa` not found [\#165](https://github.com/python-kasa/python-kasa/issues/165)
719
- - Can't command or query HS200 v5 switch [\#161](https://github.com/python-kasa/python-kasa/issues/161)
720
- - KL430 causing "non-hexadecimal number found in fromhex\(\) arg at position 2" error in smartdevice.py [\#159](https://github.com/python-kasa/python-kasa/issues/159)
721
- - Cant get smart strip children to work [\#144](https://github.com/python-kasa/python-kasa/issues/144)
722
- - `kasa --host 192.168.1.67 wifi join <ssid>` does not change network [\#139](https://github.com/python-kasa/python-kasa/issues/139)
723
- - Poetry returns error when installing dependencies [\#131](https://github.com/python-kasa/python-kasa/issues/131)
724
- - 'kasa wifi scan' raises RuntimeError [\#127](https://github.com/python-kasa/python-kasa/issues/127)
725
- - Runtime Error when I execute Kasa emeter command [\#124](https://github.com/python-kasa/python-kasa/issues/124)
726
- - HS105\(US\) HW 5.0/SW 1.0.2 Not Working [\#119](https://github.com/python-kasa/python-kasa/issues/119)
727
- - TPLINK HS100 firmware 4.1 no longer has TCP 9999 available [\#114](https://github.com/python-kasa/python-kasa/issues/114)
728
- - HS110\(UK\) not discoverable [\#113](https://github.com/python-kasa/python-kasa/issues/113)
729
- - Stopping Kasa SmartDevices from phoning home [\#111](https://github.com/python-kasa/python-kasa/issues/111)
730
- - 7.1.2 Update to asyncclick breaks github install of python-kasa [\#106](https://github.com/python-kasa/python-kasa/issues/106)
731
- - TP Link Dimmer switch \(HS220\) hardware version 2.0 not being discovered [\#105](https://github.com/python-kasa/python-kasa/issues/105)
732
- - cli emeter year and month functions fail [\#102](https://github.com/python-kasa/python-kasa/issues/102)
733
- - how to know the duration for which the plug was ON? [\#99](https://github.com/python-kasa/python-kasa/issues/99)
734
- - problem controlling the smartplug through a controller [\#98](https://github.com/python-kasa/python-kasa/issues/98)
735
- - unable to install [\#97](https://github.com/python-kasa/python-kasa/issues/97)
736
- - Install on Ubuntu 18.04 no luck [\#96](https://github.com/python-kasa/python-kasa/issues/96)
737
- - issue with installation [\#95](https://github.com/python-kasa/python-kasa/issues/95)
738
- - Running via Crontab [\#92](https://github.com/python-kasa/python-kasa/issues/92)
739
- - Issues with setup [\#91](https://github.com/python-kasa/python-kasa/issues/91)
740
- - I don't python... how do I make this executable? [\#88](https://github.com/python-kasa/python-kasa/issues/88)
741
- - ImportError: cannot import name 'smartplug' [\#87](https://github.com/python-kasa/python-kasa/issues/87)
742
- - Support for P100 Smart Plug [\#83](https://github.com/python-kasa/python-kasa/issues/83)
743
- - not able to pip install the library [\#82](https://github.com/python-kasa/python-kasa/issues/82)
744
- - Discover.discover\(\) add selecting network interface \[pull request\] [\#78](https://github.com/python-kasa/python-kasa/issues/78)
745
- - LB100 unable to turn on or off the lights [\#68](https://github.com/python-kasa/python-kasa/issues/68)
746
- - sys\_info not None fails assertion [\#55](https://github.com/python-kasa/python-kasa/issues/55)
747
- - Upload pre-release to pypi for easier testing [\#17](https://github.com/python-kasa/python-kasa/issues/17)
748
-
749
697
  **Merged pull requests:**
750
698
 
751
- - Release 0.4.0 [\#221](https://github.com/python-kasa/python-kasa/pull/221) (@rytilahti)
752
699
  - Add github workflow for pypi publishing [\#220](https://github.com/python-kasa/python-kasa/pull/220) (@rytilahti)
753
700
  - Add host information to protocol debug logs [\#219](https://github.com/python-kasa/python-kasa/pull/219) (@rytilahti)
754
- - Release 0.4.0.dev5 [\#215](https://github.com/python-kasa/python-kasa/pull/215) (@rytilahti)
755
701
  - Add KL130 fixture, initial lightstrip tests [\#214](https://github.com/python-kasa/python-kasa/pull/214) (@rytilahti)
756
702
  - Cleanup discovery & add tests [\#212](https://github.com/python-kasa/python-kasa/pull/212) (@rytilahti)
757
- - Release 0.4.0.dev4 [\#210](https://github.com/python-kasa/python-kasa/pull/210) (@rytilahti)
758
703
  - More CI fixes [\#208](https://github.com/python-kasa/python-kasa/pull/208) (@rytilahti)
759
704
  - Fix CI dep installation [\#207](https://github.com/python-kasa/python-kasa/pull/207) (@rytilahti)
760
705
  - Use github actions instead of azure pipelines [\#206](https://github.com/python-kasa/python-kasa/pull/206) (@rytilahti)
@@ -763,7 +708,6 @@ Pull requests improving the functionality of modules as well as adding better in
763
708
  - Add real kasa KL430\(UN\) device dump [\#192](https://github.com/python-kasa/python-kasa/pull/192) (@iprodanovbg)
764
709
  - Use less strict matcher for kl430 color temperature [\#190](https://github.com/python-kasa/python-kasa/pull/190) (@rytilahti)
765
710
  - Add EP10\(US\) 1.0 1.0.2 fixture [\#174](https://github.com/python-kasa/python-kasa/pull/174) (@nbrew)
766
- - Prepare 0.4.0.dev3 [\#172](https://github.com/python-kasa/python-kasa/pull/172) (@rytilahti)
767
711
  - Add a note about using the discovery target parameter [\#168](https://github.com/python-kasa/python-kasa/pull/168) (@leandroreox)
768
712
  - Simplify mac address handling [\#162](https://github.com/python-kasa/python-kasa/pull/162) (@rytilahti)
769
713
  - Added KL125 and HS200 fixture dumps and updated tests to run on new format [\#160](https://github.com/python-kasa/python-kasa/pull/160) (@brianthedavis)
@@ -772,10 +716,8 @@ Pull requests improving the functionality of modules as well as adding better in
772
716
  - Fix documentation on Smart strips [\#136](https://github.com/python-kasa/python-kasa/pull/136) (@flavio-fernandes)
773
717
  - add tapo link, fix tplink-smarthome-simulator link [\#133](https://github.com/python-kasa/python-kasa/pull/133) (@rytilahti)
774
718
  - Leverage data from UDP discovery to initialize device structure [\#132](https://github.com/python-kasa/python-kasa/pull/132) (@dlee1j1)
775
- - Release 0.4.0.dev2 [\#118](https://github.com/python-kasa/python-kasa/pull/118) (@rytilahti)
776
719
  - Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
777
720
  - Pin dependencies on major versions, add poetry.lock [\#94](https://github.com/python-kasa/python-kasa/pull/94) (@rytilahti)
778
- - Release 0.4.0.dev1 [\#93](https://github.com/python-kasa/python-kasa/pull/93) (@rytilahti)
779
721
  - add a small example script to show library usage [\#90](https://github.com/python-kasa/python-kasa/pull/90) (@rytilahti)
780
722
  - add .readthedocs.yml required for poetry builds [\#89](https://github.com/python-kasa/python-kasa/pull/89) (@rytilahti)
781
723
  - Improve installation instructions [\#86](https://github.com/python-kasa/python-kasa/pull/86) (@rytilahti)
@@ -795,28 +737,6 @@ Pull requests improving the functionality of modules as well as adding better in
795
737
 
796
738
  - Add commands to control the wifi settings [\#45](https://github.com/python-kasa/python-kasa/pull/45) (@rytilahti)
797
739
 
798
- **Fixed bugs:**
799
-
800
- - HSV cli command not working [\#43](https://github.com/python-kasa/python-kasa/issues/43)
801
-
802
- **Closed issues:**
803
-
804
- - Pull request \#54 broke installer? [\#66](https://github.com/python-kasa/python-kasa/issues/66)
805
- - RFC: remove implicit updates after state changes? [\#61](https://github.com/python-kasa/python-kasa/issues/61)
806
- - How to install? [\#57](https://github.com/python-kasa/python-kasa/issues/57)
807
- - Request all necessary information during update\(\) [\#53](https://github.com/python-kasa/python-kasa/issues/53)
808
- - HS107 Support [\#37](https://github.com/python-kasa/python-kasa/issues/37)
809
- - Separate dimmer-related code from smartplug class [\#33](https://github.com/python-kasa/python-kasa/issues/33)
810
- - Add Mac OSX and Windows for CI [\#30](https://github.com/python-kasa/python-kasa/issues/30)
811
- - KP303\(UK\) does not pass check with pytest [\#27](https://github.com/python-kasa/python-kasa/issues/27)
812
- - Remove sync interface wrapper [\#12](https://github.com/python-kasa/python-kasa/issues/12)
813
- - Mass close pyhs100 issues and PRs [\#11](https://github.com/python-kasa/python-kasa/issues/11)
814
- - Update readme [\#10](https://github.com/python-kasa/python-kasa/issues/10)
815
- - Add contribution guidelines and instructions [\#8](https://github.com/python-kasa/python-kasa/issues/8)
816
- - Convert discovery to use asyncio [\#7](https://github.com/python-kasa/python-kasa/issues/7)
817
- - Python Version? [\#4](https://github.com/python-kasa/python-kasa/issues/4)
818
- - Fix failing tests: KeyError: 'relay\_state' [\#2](https://github.com/python-kasa/python-kasa/issues/2)
819
-
820
740
  **Merged pull requests:**
821
741
 
822
742
  - Add retries to protocol queries [\#65](https://github.com/python-kasa/python-kasa/pull/65) (@rytilahti)