python-kasa 0.5.3__tar.gz → 0.6.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 (147) hide show
  1. {python_kasa-0.5.3 → python_kasa-0.6.0}/CHANGELOG.md +235 -121
  2. python_kasa-0.6.0/PKG-INFO +362 -0
  3. python_kasa-0.6.0/README.md +326 -0
  4. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/__init__.py +27 -2
  5. python_kasa-0.6.0/kasa/aestransport.py +347 -0
  6. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/cli.py +346 -36
  7. python_kasa-0.6.0/kasa/credentials.py +13 -0
  8. python_kasa-0.6.0/kasa/device_factory.py +164 -0
  9. python_kasa-0.6.0/kasa/device_type.py +27 -0
  10. python_kasa-0.6.0/kasa/deviceconfig.py +185 -0
  11. python_kasa-0.6.0/kasa/discover.py +498 -0
  12. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/emeterstatus.py +7 -3
  13. python_kasa-0.6.0/kasa/exceptions.py +111 -0
  14. python_kasa-0.6.0/kasa/httpclient.py +95 -0
  15. python_kasa-0.6.0/kasa/iotprotocol.py +89 -0
  16. python_kasa-0.6.0/kasa/klaptransport.py +477 -0
  17. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/cloud.py +4 -1
  18. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/emeter.py +34 -11
  19. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/module.py +15 -2
  20. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/rulemodule.py +5 -1
  21. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/usage.py +26 -14
  22. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/protocol.py +185 -51
  23. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartbulb.py +48 -23
  24. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartdevice.py +188 -70
  25. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartdimmer.py +15 -5
  26. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartlightstrip.py +17 -7
  27. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartplug.py +12 -3
  28. python_kasa-0.6.0/kasa/smartprotocol.py +251 -0
  29. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/smartstrip.py +14 -5
  30. python_kasa-0.6.0/kasa/tapo/__init__.py +6 -0
  31. python_kasa-0.6.0/kasa/tapo/tapobulb.py +261 -0
  32. python_kasa-0.6.0/kasa/tapo/tapodevice.py +341 -0
  33. python_kasa-0.6.0/kasa/tapo/tapoplug.py +45 -0
  34. python_kasa-0.6.0/kasa/tests/conftest.py +577 -0
  35. python_kasa-0.6.0/kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +47 -0
  36. python_kasa-0.6.0/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.1.json +457 -0
  37. python_kasa-0.6.0/kasa/tests/fixtures/smart/KP125M(US)_1.0_1.1.3.json +175 -0
  38. python_kasa-0.6.0/kasa/tests/fixtures/smart/KS205(US)_1.0_1.0.2.json +243 -0
  39. python_kasa-0.6.0/kasa/tests/fixtures/smart/KS225(US)_1.0_1.0.2.json +269 -0
  40. python_kasa-0.6.0/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +425 -0
  41. python_kasa-0.6.0/kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +440 -0
  42. python_kasa-0.6.0/kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +441 -0
  43. python_kasa-0.6.0/kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +306 -0
  44. python_kasa-0.6.0/kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +397 -0
  45. python_kasa-0.6.0/kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +390 -0
  46. python_kasa-0.6.0/kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +447 -0
  47. python_kasa-0.6.0/kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +243 -0
  48. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/newfakes.py +148 -29
  49. python_kasa-0.6.0/kasa/tests/test_aestransport.py +222 -0
  50. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_bulb.py +15 -12
  51. python_kasa-0.6.0/kasa/tests/test_cli.py +487 -0
  52. python_kasa-0.6.0/kasa/tests/test_device_factory.py +158 -0
  53. python_kasa-0.6.0/kasa/tests/test_device_type.py +23 -0
  54. python_kasa-0.6.0/kasa/tests/test_deviceconfig.py +77 -0
  55. python_kasa-0.6.0/kasa/tests/test_discovery.py +343 -0
  56. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_emeter.py +34 -4
  57. python_kasa-0.6.0/kasa/tests/test_klapprotocol.py +410 -0
  58. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_plug.py +12 -1
  59. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_protocol.py +172 -8
  60. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_readme_examples.py +7 -7
  61. python_kasa-0.6.0/kasa/tests/test_smartdevice.py +265 -0
  62. python_kasa-0.6.0/kasa/tests/test_smartprotocol.py +82 -0
  63. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_strip.py +1 -1
  64. python_kasa-0.6.0/kasa/tests/test_usage.py +87 -0
  65. {python_kasa-0.5.3 → python_kasa-0.6.0}/pyproject.toml +46 -25
  66. python_kasa-0.5.3/PKG-INFO +0 -231
  67. python_kasa-0.5.3/README.md +0 -198
  68. python_kasa-0.5.3/kasa/discover.py +0 -239
  69. python_kasa-0.5.3/kasa/exceptions.py +0 -5
  70. python_kasa-0.5.3/kasa/tests/conftest.py +0 -255
  71. python_kasa-0.5.3/kasa/tests/test_cli.py +0 -111
  72. python_kasa-0.5.3/kasa/tests/test_discovery.py +0 -119
  73. python_kasa-0.5.3/kasa/tests/test_smartdevice.py +0 -152
  74. python_kasa-0.5.3/kasa/tests/test_usage.py +0 -22
  75. {python_kasa-0.5.3 → python_kasa-0.6.0}/LICENSE +0 -0
  76. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/effects.py +0 -0
  77. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/json.py +0 -0
  78. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/__init__.py +0 -0
  79. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/ambientlight.py +0 -0
  80. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/antitheft.py +0 -0
  81. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/countdown.py +0 -0
  82. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/motion.py +0 -0
  83. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/schedule.py +0 -0
  84. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/modules/time.py +0 -0
  85. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/py.typed +0 -0
  86. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/__init__.py +0 -0
  87. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json +0 -0
  88. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/EP40(US)_1.0_1.0.2.json +0 -0
  89. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/ES20M(US)_1.0_1.0.8.json +0 -0
  90. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS100(US)_1.0_1.2.5.json +0 -0
  91. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS100(US)_2.0_1.5.6.json +0 -0
  92. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS103(US)_1.0_1.5.7.json +0 -0
  93. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS103(US)_2.1_1.1.2.json +0 -0
  94. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS103(US)_2.1_1.1.4.json +0 -0
  95. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS105(US)_1.0_1.5.6.json +0 -0
  96. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS105(US)_1.0_mocked.json +0 -0
  97. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS107(US)_1.0_1.0.8.json +0 -0
  98. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +0 -0
  99. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS110(EU)_2.0_mocked.json +0 -0
  100. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS110(US)_1.0_mocked.json +0 -0
  101. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS200(US)_1.0_mocked.json +0 -0
  102. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS200(US)_2.0_1.5.7.json +0 -0
  103. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS200(US)_5.0_1.0.2.json +0 -0
  104. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS210(US)_1.0_1.5.8.json +0 -0
  105. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS220(US)_1.0_1.5.7.json +0 -0
  106. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS220(US)_1.0_mocked.json +0 -0
  107. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS220(US)_2.0_1.0.3.json +0 -0
  108. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS300(US)_1.0_1.0.10.json +0 -0
  109. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/HS300(US)_2.0_1.0.3.json +0 -0
  110. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL110(US)_1.0_1.8.11.json +0 -0
  111. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL120(US)_1.0_1.8.6.json +0 -0
  112. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL125(US)_1.20_1.0.5.json +0 -0
  113. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL125(US)_2.0_1.0.7.json +0 -0
  114. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +0 -0
  115. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL130(US)_1.0_1.8.11.json +0 -0
  116. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL135(US)_1.0_1.0.6.json +0 -0
  117. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.5.json +0 -0
  118. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL400L5(US)_1.0_1.0.8.json +0 -0
  119. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL420L5(US)_1.0_1.0.2.json +0 -0
  120. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL430(UN)_2.0_1.0.8.json +0 -0
  121. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL430(US)_1.0_1.0.10.json +0 -0
  122. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL430(US)_2.0_1.0.8.json +0 -0
  123. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL430(US)_2.0_1.0.9.json +0 -0
  124. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL50(US)_1.0_1.1.13.json +0 -0
  125. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL60(UN)_1.0_1.1.4.json +0 -0
  126. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KL60(US)_1.0_1.1.13.json +0 -0
  127. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP100(US)_3.0_1.0.1.json +0 -0
  128. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +0 -0
  129. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +0 -0
  130. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP115(US)_1.0_1.0.17.json +0 -0
  131. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP125(US)_1.0_1.0.6.json +0 -0
  132. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP200(US)_3.0_1.0.3.json +0 -0
  133. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +0 -0
  134. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP303(US)_2.0_1.0.3.json +0 -0
  135. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP400(US)_1.0_1.0.10.json +0 -0
  136. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP400(US)_2.0_1.0.6.json +0 -0
  137. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP401(US)_1.0_1.0.0.json +0 -0
  138. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KP405(US)_1.0_1.0.5.json +0 -0
  139. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KS200M(US)_1.0_1.0.8.json +0 -0
  140. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KS220M(US)_1.0_1.0.4.json +0 -0
  141. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/KS230(US)_1.0_1.0.14.json +0 -0
  142. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/LB100(US)_1.0_mocked.json +0 -0
  143. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/LB110(US)_1.0_1.8.11.json +0 -0
  144. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/LB120(US)_1.0_mocked.json +0 -0
  145. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/fixtures/LB130(US)_1.0_mocked.json +0 -0
  146. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_dimmer.py +0 -0
  147. {python_kasa-0.5.3 → python_kasa-0.6.0}/kasa/tests/test_lightstrip.py +0 -0
@@ -1,5 +1,193 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.0](https://github.com/python-kasa/python-kasa/tree/0.6.0) (2024-01-19)
4
+
5
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.4...0.6.0)
6
+
7
+ 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!
8
+
9
+ This release adds support to a large range of previously unsupported devices, including:
10
+ * Newer kasa-branded devices, including Matter-enabled devices like KP125M
11
+ * Newer hardware/firmware versions on some models, like EP25, that suddenly changed the used protocol
12
+ * Tapo-branded devices like plugs (P110), light bulbs (KL530), LED strips (L900, L920), and wall switches (KS205, KS225)
13
+ * UK variant of HS110, which was the first device using the new protocol
14
+
15
+ If your device that is not currently listed as supported is working, please consider contributing a test fixture file.
16
+
17
+ Special thanks goes to @SimonWilkinson who created the initial PR for the new communication protocol!
18
+
19
+ **Breaking changes:**
20
+
21
+ - Add DeviceConfig to allow specifying configuration parameters [\#569](https://github.com/python-kasa/python-kasa/pull/569) (@sdb9696)
22
+ - Move connect\_single to SmartDevice.connect [\#538](https://github.com/python-kasa/python-kasa/pull/538) (@bdraco)
23
+
24
+ **Implemented enhancements:**
25
+
26
+ - Support for KS225\(US\) Light Dimmer and KS205\(US\) Light Switch [\#589](https://github.com/python-kasa/python-kasa/issues/589)
27
+ - Set timeout using command line parameters [\#310](https://github.com/python-kasa/python-kasa/issues/310)
28
+ - Implement the new protocol \(HTTP over 80/tcp, 20002/udp for discovery\) [\#115](https://github.com/python-kasa/python-kasa/issues/115)
29
+ - Get child emeters with CLI [\#623](https://github.com/python-kasa/python-kasa/pull/623) (@Obbay2)
30
+ - Avoid linear search for emeter realtime and emeter\_today [\#622](https://github.com/python-kasa/python-kasa/pull/622) (@bdraco)
31
+ - Add update-credentials command [\#620](https://github.com/python-kasa/python-kasa/pull/620) (@rytilahti)
32
+ - Allow serializing and passing of credentials\_hashes in DeviceConfig [\#607](https://github.com/python-kasa/python-kasa/pull/607) (@sdb9696)
33
+ - Implement wifi interface for tapodevice [\#606](https://github.com/python-kasa/python-kasa/pull/606) (@rytilahti)
34
+ - Add support for KS205 and KS225 wall switches [\#594](https://github.com/python-kasa/python-kasa/pull/594) (@gimpy88)
35
+ - Enable multiple requests in smartprotocol [\#584](https://github.com/python-kasa/python-kasa/pull/584) (@sdb9696)
36
+ - Improve CLI Discovery output [\#583](https://github.com/python-kasa/python-kasa/pull/583) (@sdb9696)
37
+ - Improve smartprotocol error handling and retries [\#578](https://github.com/python-kasa/python-kasa/pull/578) (@sdb9696)
38
+ - Request component\_nego only once for tapodevice [\#576](https://github.com/python-kasa/python-kasa/pull/576) (@rytilahti)
39
+ - Use consistent naming for cli envvars [\#570](https://github.com/python-kasa/python-kasa/pull/570) (@rytilahti)
40
+ - Add KP125M fixture and allow passing credentials for tests [\#567](https://github.com/python-kasa/python-kasa/pull/567) (@sbytnar)
41
+ - Make timeout configurable for cli [\#564](https://github.com/python-kasa/python-kasa/pull/564) (@rytilahti)
42
+ - Update dump\_devinfo to produce new TAPO/SMART fixtures [\#561](https://github.com/python-kasa/python-kasa/pull/561) (@sdb9696)
43
+ - Kasa KP125M basic emeter support [\#560](https://github.com/python-kasa/python-kasa/pull/560) (@sbytnar)
44
+ - Add support for tapo bulbs [\#558](https://github.com/python-kasa/python-kasa/pull/558) (@rytilahti)
45
+ - Add klap support for TAPO protocol by splitting out Transports and Protocols [\#557](https://github.com/python-kasa/python-kasa/pull/557) (@sdb9696)
46
+ - Update dump\_devinfo to include 20002 discovery results [\#556](https://github.com/python-kasa/python-kasa/pull/556) (@sdb9696)
47
+ - Set TCP\_NODELAY to avoid needless buffering [\#554](https://github.com/python-kasa/python-kasa/pull/554) (@bdraco)
48
+ - Add support for the protocol used by TAPO devices and some newer KASA devices. [\#552](https://github.com/python-kasa/python-kasa/pull/552) (@sdb9696)
49
+ - Re-add protocol\_class parameter to connect [\#551](https://github.com/python-kasa/python-kasa/pull/551) (@sdb9696)
50
+ - Update discover single to handle hostnames [\#539](https://github.com/python-kasa/python-kasa/pull/539) (@sdb9696)
51
+ - Add klap protocol [\#509](https://github.com/python-kasa/python-kasa/pull/509) (@sdb9696)
52
+
53
+ **Fixed bugs:**
54
+
55
+ - dump\_devinfo crashes when credentials are not given [\#591](https://github.com/python-kasa/python-kasa/issues/591)
56
+ - Fix connection indeterminate state on cancellation [\#636](https://github.com/python-kasa/python-kasa/pull/636) (@bdraco)
57
+ - Check the ct range for color temp support [\#619](https://github.com/python-kasa/python-kasa/pull/619) (@rytilahti)
58
+ - Fix cli discover bug with None username/password [\#615](https://github.com/python-kasa/python-kasa/pull/615) (@sdb9696)
59
+ - Fix hsv setting for tapobulb [\#573](https://github.com/python-kasa/python-kasa/pull/573) (@rytilahti)
60
+ - Fix transport retries after close [\#568](https://github.com/python-kasa/python-kasa/pull/568) (@sdb9696)
61
+
62
+ **Documentation updates:**
63
+
64
+ - Update the documentation for 0.6 release [\#600](https://github.com/python-kasa/python-kasa/issues/600)
65
+ - Update docs for newer devices and DeviceConfig [\#614](https://github.com/python-kasa/python-kasa/pull/614) (@sdb9696)
66
+ - Update readme with clearer instructions, tapo support [\#571](https://github.com/python-kasa/python-kasa/pull/571) (@rytilahti)
67
+ - Add some more external links to README [\#541](https://github.com/python-kasa/python-kasa/pull/541) (@rytilahti)
68
+
69
+ **Closed issues:**
70
+
71
+ - Convert to use aiohttp instead of httpx [\#635](https://github.com/python-kasa/python-kasa/issues/635)
72
+ - KS225 support [\#631](https://github.com/python-kasa/python-kasa/issues/631)
73
+ - Need to do error code checking for new protocols [\#612](https://github.com/python-kasa/python-kasa/issues/612)
74
+ - Support of last firmware update version 1.3.0 [\#611](https://github.com/python-kasa/python-kasa/issues/611)
75
+ - Improve test coverage for tapodevice class [\#608](https://github.com/python-kasa/python-kasa/issues/608)
76
+ - Discover returns dictionary with no 'alias' property [\#592](https://github.com/python-kasa/python-kasa/issues/592)
77
+ - Sending with the legacy protocol is needlessly delayed [\#553](https://github.com/python-kasa/python-kasa/issues/553)
78
+ - Issues adding a KP405 device [\#549](https://github.com/python-kasa/python-kasa/issues/549)
79
+ - Support for L510E bulb [\#547](https://github.com/python-kasa/python-kasa/issues/547)
80
+ - Support for tapo L530E bulbs? [\#546](https://github.com/python-kasa/python-kasa/issues/546)
81
+ - Unable to connect to host on different subnet with 0.5.4 [\#545](https://github.com/python-kasa/python-kasa/issues/545)
82
+ - Discovery/Connect broken when upgrading from 0.5.3 -\> 0.5.4 [\#543](https://github.com/python-kasa/python-kasa/issues/543)
83
+ - 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)
84
+ - Implement energy and usage for individual plugs in HS300 [\#462](https://github.com/python-kasa/python-kasa/issues/462)
85
+ - KP 125M / support for matter devices [\#450](https://github.com/python-kasa/python-kasa/issues/450)
86
+
87
+ **Merged pull requests:**
88
+
89
+ - Remove time logging in debug message [\#645](https://github.com/python-kasa/python-kasa/pull/645) (@sdb9696)
90
+ - Migrate http client to use aiohttp instead of httpx [\#643](https://github.com/python-kasa/python-kasa/pull/643) (@sdb9696)
91
+ - Encapsulate http client dependency [\#642](https://github.com/python-kasa/python-kasa/pull/642) (@sdb9696)
92
+ - Fix broken docs due to applehelp dependency [\#641](https://github.com/python-kasa/python-kasa/pull/641) (@sdb9696)
93
+ - Raise SmartDeviceException on invalid config dicts [\#640](https://github.com/python-kasa/python-kasa/pull/640) (@sdb9696)
94
+ - Add fixture for L920 [\#638](https://github.com/python-kasa/python-kasa/pull/638) (@bdraco)
95
+ - Release 0.6.0.dev2 [\#633](https://github.com/python-kasa/python-kasa/pull/633) (@rytilahti)
96
+ - Raise TimeoutException on discover\_single timeout [\#632](https://github.com/python-kasa/python-kasa/pull/632) (@sdb9696)
97
+ - Add L900-10 fixture and it's additional component requests [\#629](https://github.com/python-kasa/python-kasa/pull/629) (@sdb9696)
98
+ - Avoid recreating struct each request in legacy protocol [\#628](https://github.com/python-kasa/python-kasa/pull/628) (@bdraco)
99
+ - Return alias as None for new discovery devices before update [\#627](https://github.com/python-kasa/python-kasa/pull/627) (@sdb9696)
100
+ - Update config to\_dict to exclude credentials if the hash is empty string [\#626](https://github.com/python-kasa/python-kasa/pull/626) (@sdb9696)
101
+ - Improve test coverage [\#625](https://github.com/python-kasa/python-kasa/pull/625) (@sdb9696)
102
+ - Release 0.6.0.dev1 [\#624](https://github.com/python-kasa/python-kasa/pull/624) (@rytilahti)
103
+ - Add P125M and update EP25 fixtures [\#621](https://github.com/python-kasa/python-kasa/pull/621) (@bdraco)
104
+ - Use consistent envvars for dump\_devinfo credentials [\#618](https://github.com/python-kasa/python-kasa/pull/618) (@rytilahti)
105
+ - Mark L900-5 as supported [\#617](https://github.com/python-kasa/python-kasa/pull/617) (@rytilahti)
106
+ - Ship CHANGELOG only in sdist [\#610](https://github.com/python-kasa/python-kasa/pull/610) (@rytilahti)
107
+ - Release 0.6.0.dev0 [\#609](https://github.com/python-kasa/python-kasa/pull/609) (@rytilahti)
108
+ - Cleanup credentials handling [\#605](https://github.com/python-kasa/python-kasa/pull/605) (@rytilahti)
109
+ - Update P110\(EU\) fixture [\#604](https://github.com/python-kasa/python-kasa/pull/604) (@rytilahti)
110
+ - Update L530 aes fixture [\#603](https://github.com/python-kasa/python-kasa/pull/603) (@rytilahti)
111
+ - Cleanup custom exception kwarg handling [\#602](https://github.com/python-kasa/python-kasa/pull/602) (@rytilahti)
112
+ - Pull up emeter handling to tapodevice base class [\#601](https://github.com/python-kasa/python-kasa/pull/601) (@rytilahti)
113
+ - Add L530\(EU\) klap fixture [\#598](https://github.com/python-kasa/python-kasa/pull/598) (@sdb9696)
114
+ - Add known smart requests to dump\_devinfo [\#597](https://github.com/python-kasa/python-kasa/pull/597) (@sdb9696)
115
+ - Update P110\(UK\) fixture [\#596](https://github.com/python-kasa/python-kasa/pull/596) (@sdb9696)
116
+ - Fix dump\_devinfo for unauthenticated [\#593](https://github.com/python-kasa/python-kasa/pull/593) (@sdb9696)
117
+ - Elevate --verbose to top-level option [\#590](https://github.com/python-kasa/python-kasa/pull/590) (@rytilahti)
118
+ - Add optional error code to exceptions [\#585](https://github.com/python-kasa/python-kasa/pull/585) (@sdb9696)
119
+ - Fix typo in cli.rst [\#581](https://github.com/python-kasa/python-kasa/pull/581) (@alanblake)
120
+ - Do login entirely within AesTransport [\#580](https://github.com/python-kasa/python-kasa/pull/580) (@sdb9696)
121
+ - Log smartprotocol requests [\#575](https://github.com/python-kasa/python-kasa/pull/575) (@rytilahti)
122
+ - Add new methods to dump\_devinfo and mask aliases [\#574](https://github.com/python-kasa/python-kasa/pull/574) (@sdb9696)
123
+ - Add EP25 smart fixture and improve test framework for SMART devices [\#572](https://github.com/python-kasa/python-kasa/pull/572) (@sdb9696)
124
+ - Re-add regional suffix to TAPO/SMART fixtures [\#566](https://github.com/python-kasa/python-kasa/pull/566) (@sdb9696)
125
+ - Add P110 fixture [\#562](https://github.com/python-kasa/python-kasa/pull/562) (@rytilahti)
126
+ - Do not do update\(\) in discover\_single [\#542](https://github.com/python-kasa/python-kasa/pull/542) (@sdb9696)
127
+
128
+ ## [0.5.4](https://github.com/python-kasa/python-kasa/tree/0.5.4) (2023-10-29)
129
+
130
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.3...0.5.4)
131
+
132
+ The highlights of this maintenance release:
133
+
134
+ * Support to the alternative discovery protocol and foundational work to support other communication protocols, thanks to @sdb9696.
135
+ * Reliability improvements by avoiding overflowing device buffers, thanks to @cobryan05.
136
+ * Optimizations for downstream device accesses, thanks to @bdraco.
137
+ * Support for both pydantic v1 and v2.
138
+
139
+ As always, see the full changelog for details.
140
+
141
+ **Implemented enhancements:**
142
+
143
+ - Add a connect\_single method to Discover to avoid the need for UDP [\#528](https://github.com/python-kasa/python-kasa/pull/528) (@bdraco)
144
+ - Parse features only during updates [\#527](https://github.com/python-kasa/python-kasa/pull/527) (@bdraco)
145
+ - Show an error if both --alias and --host are defined [\#513](https://github.com/python-kasa/python-kasa/pull/513) (@rytilahti)
146
+ - Add plumbing for passing credentials to devices [\#507](https://github.com/python-kasa/python-kasa/pull/507) (@sdb9696)
147
+ - Add support for pydantic v2 using v1 shims [\#504](https://github.com/python-kasa/python-kasa/pull/504) (@rytilahti)
148
+ - Split queries to avoid overflowing device buffers [\#502](https://github.com/python-kasa/python-kasa/pull/502) (@cobryan05)
149
+ - Add toggle command to cli [\#498](https://github.com/python-kasa/python-kasa/pull/498) (@normanr)
150
+ - Add support for alternative discovery protocol \(20002/udp\) [\#488](https://github.com/python-kasa/python-kasa/pull/488) (@sdb9696)
151
+ - Add discovery timeout parameter [\#486](https://github.com/python-kasa/python-kasa/pull/486) (@sdb9696)
152
+ - Add devtools script to create module fixtures [\#404](https://github.com/python-kasa/python-kasa/pull/404) (@rytilahti)
153
+ - Make timeout adjustable [\#494](https://github.com/python-kasa/python-kasa/pull/494) (@bdraco)
154
+
155
+ **Fixed bugs:**
156
+
157
+ - Fix on\_since for smartstrip sockets [\#529](https://github.com/python-kasa/python-kasa/pull/529) (@rytilahti)
158
+ - Fix every other query tries to fetch known unsupported features [\#520](https://github.com/python-kasa/python-kasa/pull/520) (@bdraco)
159
+
160
+ **Documentation updates:**
161
+
162
+ - Mark KS2{20}M as partially supported [\#508](https://github.com/python-kasa/python-kasa/pull/508) (@lschweiss)
163
+ - Document cli tool --target for discovery [\#497](https://github.com/python-kasa/python-kasa/pull/497) (@rytilahti)
164
+
165
+ **Closed issues:**
166
+
167
+ - Error running kasa command on the Raspberry PI [\#525](https://github.com/python-kasa/python-kasa/issues/525)
168
+ - Installation Problems \(Python Version?\) [\#523](https://github.com/python-kasa/python-kasa/issues/523)
169
+ - What are the units in the emeter readings? [\#514](https://github.com/python-kasa/python-kasa/issues/514)
170
+ - Set Alias via Command Line [\#511](https://github.com/python-kasa/python-kasa/issues/511)
171
+ - How do I know if my device supports emeter? [\#510](https://github.com/python-kasa/python-kasa/issues/510)
172
+ - Getting Invalid KeyError when getting sysinfo on an EP40 device [\#500](https://github.com/python-kasa/python-kasa/issues/500)
173
+ - Running kasa discover on subnet broadcasts only [\#496](https://github.com/python-kasa/python-kasa/issues/496)
174
+ - Failed to discover kasa switchs on the network [\#495](https://github.com/python-kasa/python-kasa/issues/495)
175
+ - \[Feature Request\] Add a toggle command [\#492](https://github.com/python-kasa/python-kasa/issues/492)
176
+ - \[Feature Request\] Pydantic 2.0+ Support [\#491](https://github.com/python-kasa/python-kasa/issues/491)
177
+ - Support for EP10 Plug [\#170](https://github.com/python-kasa/python-kasa/issues/170)
178
+ - \[Request\] New release to pip? [\#518](https://github.com/python-kasa/python-kasa/issues/518)
179
+
180
+ **Merged pull requests:**
181
+
182
+ - Release 0.5.4 [\#536](https://github.com/python-kasa/python-kasa/pull/536) (@rytilahti)
183
+ - Use ruff and ruff format [\#534](https://github.com/python-kasa/python-kasa/pull/534) (@rytilahti)
184
+ - Add python3.12 and pypy-3.10 to CI [\#532](https://github.com/python-kasa/python-kasa/pull/532) (@rytilahti)
185
+ - Use trusted publisher for publishing to pypi [\#531](https://github.com/python-kasa/python-kasa/pull/531) (@rytilahti)
186
+ - Remove code to detect event loop change [\#526](https://github.com/python-kasa/python-kasa/pull/526) (@bdraco)
187
+ - Convert readthedocs config to v2 [\#505](https://github.com/python-kasa/python-kasa/pull/505) (@rytilahti)
188
+ - Add new HS100\(UK\) fixture [\#489](https://github.com/python-kasa/python-kasa/pull/489) (@sdb9696)
189
+ - Update pyproject.toml isort profile, dev group header and poetry.lock [\#487](https://github.com/python-kasa/python-kasa/pull/487) (@sdb9696)
190
+
3
191
  ## [0.5.3](https://github.com/python-kasa/python-kasa/tree/0.5.3) (2023-07-23)
4
192
 
5
193
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.5.2...0.5.3)
@@ -16,6 +204,7 @@ This release adds support for defining the device port and introduces dependency
16
204
 
17
205
  **Merged pull requests:**
18
206
 
207
+ - Release 0.5.3 [\#485](https://github.com/python-kasa/python-kasa/pull/485) (@rytilahti)
19
208
  - Add tests for KP200 [\#483](https://github.com/python-kasa/python-kasa/pull/483) (@bdraco)
20
209
  - Update pyyaml to fix CI [\#482](https://github.com/python-kasa/python-kasa/pull/482) (@bdraco)
21
210
 
@@ -335,43 +524,15 @@ Pull requests improving the functionality of modules as well as adding better in
335
524
 
336
525
  ## [0.4.0](https://github.com/python-kasa/python-kasa/tree/0.4.0) (2021-09-27)
337
526
 
338
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev5...0.4.0)
527
+ [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.pre0...0.4.0)
339
528
 
340
529
  **Implemented enhancements:**
341
530
 
531
+ - KL430 support [\#67](https://github.com/python-kasa/python-kasa/issues/67)
532
+ - Improve retry logic for discovery, messaging \(was: Handle empty responses\) [\#38](https://github.com/python-kasa/python-kasa/issues/38)
342
533
  - Fix lock being unexpectedly reset on close [\#218](https://github.com/python-kasa/python-kasa/pull/218) (@bdraco)
343
534
  - Avoid calling pformat unless debug logging is enabled [\#217](https://github.com/python-kasa/python-kasa/pull/217) (@bdraco)
344
-
345
- **Closed issues:**
346
-
347
- - Debug logging in protocol.py is the majority of the execution time [\#216](https://github.com/python-kasa/python-kasa/issues/216)
348
-
349
- **Merged pull requests:**
350
-
351
- - Release 0.4.0 [\#221](https://github.com/python-kasa/python-kasa/pull/221) (@rytilahti)
352
- - Add github workflow for pypi publishing [\#220](https://github.com/python-kasa/python-kasa/pull/220) (@rytilahti)
353
- - Add host information to protocol debug logs [\#219](https://github.com/python-kasa/python-kasa/pull/219) (@rytilahti)
354
-
355
- ## [0.4.0.dev5](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev5) (2021-09-24)
356
-
357
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev4...0.4.0.dev5)
358
-
359
- **Implemented enhancements:**
360
-
361
535
  - Keep connection open and lock to prevent duplicate requests [\#213](https://github.com/python-kasa/python-kasa/pull/213) (@bdraco)
362
-
363
- **Merged pull requests:**
364
-
365
- - Release 0.4.0.dev5 [\#215](https://github.com/python-kasa/python-kasa/pull/215) (@rytilahti)
366
- - Add KL130 fixture, initial lightstrip tests [\#214](https://github.com/python-kasa/python-kasa/pull/214) (@rytilahti)
367
- - Cleanup discovery & add tests [\#212](https://github.com/python-kasa/python-kasa/pull/212) (@rytilahti)
368
-
369
- ## [0.4.0.dev4](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev4) (2021-09-23)
370
-
371
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev3...0.4.0.dev4)
372
-
373
- **Implemented enhancements:**
374
-
375
536
  - Improve emeterstatus API, move into own module [\#205](https://github.com/python-kasa/python-kasa/pull/205) (@rytilahti)
376
537
  - Avoid temp array during encrypt and decrypt [\#204](https://github.com/python-kasa/python-kasa/pull/204) (@bdraco)
377
538
  - Add emeter support for strip sockets [\#203](https://github.com/python-kasa/python-kasa/pull/203) (@bdraco)
@@ -380,59 +541,39 @@ Pull requests improving the functionality of modules as well as adding better in
380
541
  - Improve bulb support \(alias, time settings\) [\#198](https://github.com/python-kasa/python-kasa/pull/198) (@rytilahti)
381
542
  - Improve testing harness to allow tests on real devices [\#197](https://github.com/python-kasa/python-kasa/pull/197) (@rytilahti)
382
543
  - cli: add human-friendly printout when calling temperature on non-supported devices [\#196](https://github.com/python-kasa/python-kasa/pull/196) (@JaydenRA)
544
+ - 'Interface' parameter added to discovery process [\#79](https://github.com/python-kasa/python-kasa/pull/79) (@dmitryelj)
545
+ - Add support for lightstrips \(KL430\) [\#74](https://github.com/python-kasa/python-kasa/pull/74) (@rytilahti)
383
546
 
384
547
  **Fixed bugs:**
385
548
 
386
549
  - KL430: Throw error for Device specific information [\#189](https://github.com/python-kasa/python-kasa/issues/189)
550
+ - `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)
551
+ - `Unknown color temperature range` error when attempting to query KL125 bulb state [\#141](https://github.com/python-kasa/python-kasa/issues/141)
387
552
  - HS300 Children plugs have emeter [\#64](https://github.com/python-kasa/python-kasa/issues/64)
388
553
  - dump\_devinfo: handle latitude/longitude keys properly [\#175](https://github.com/python-kasa/python-kasa/pull/175) (@rytilahti)
554
+ - Simplify discovery query, refactor dump-devinfo [\#147](https://github.com/python-kasa/python-kasa/pull/147) (@rytilahti)
555
+ - Return None instead of raising an exception on missing, valid emeter keys [\#146](https://github.com/python-kasa/python-kasa/pull/146) (@rytilahti)
556
+ - Simplify device class detection for discovery, fix hardcoded timeout [\#112](https://github.com/python-kasa/python-kasa/pull/112) (@rytilahti)
557
+ - Update cli.py to addresss crash on year/month calls and improve output formatting [\#103](https://github.com/python-kasa/python-kasa/pull/103) (@BuongiornoTexas)
389
558
 
390
559
  **Documentation updates:**
391
560
 
392
561
  - Discover does not support specifying network interface [\#167](https://github.com/python-kasa/python-kasa/issues/167)
562
+ - Add ability to control individual sockets on KP400 [\#121](https://github.com/python-kasa/python-kasa/issues/121)
563
+ - Improve poetry usage documentation [\#60](https://github.com/python-kasa/python-kasa/issues/60)
564
+ - Improve cli documentation for bulbs and power strips [\#123](https://github.com/python-kasa/python-kasa/pull/123) (@rytilahti)
393
565
 
394
566
  **Closed issues:**
395
567
 
568
+ - Debug logging in protocol.py is the majority of the execution time [\#216](https://github.com/python-kasa/python-kasa/issues/216)
396
569
  - Feature Request - Toggle Command [\#188](https://github.com/python-kasa/python-kasa/issues/188)
397
570
  - Is It Compatible With HS105? [\#186](https://github.com/python-kasa/python-kasa/issues/186)
398
571
  - Cannot use some functions with KP303 [\#181](https://github.com/python-kasa/python-kasa/issues/181)
399
572
  - Help needed - awaiting game [\#179](https://github.com/python-kasa/python-kasa/issues/179)
400
573
  - Version inconsistency between CLI and pip [\#177](https://github.com/python-kasa/python-kasa/issues/177)
401
574
  - Release 0.4.0.dev3? [\#169](https://github.com/python-kasa/python-kasa/issues/169)
402
- - Can't command or query HS200 v5 switch [\#161](https://github.com/python-kasa/python-kasa/issues/161)
403
-
404
- **Merged pull requests:**
405
-
406
- - Release 0.4.0.dev4 [\#210](https://github.com/python-kasa/python-kasa/pull/210) (@rytilahti)
407
- - More CI fixes [\#208](https://github.com/python-kasa/python-kasa/pull/208) (@rytilahti)
408
- - Fix CI dep installation [\#207](https://github.com/python-kasa/python-kasa/pull/207) (@rytilahti)
409
- - Use github actions instead of azure pipelines [\#206](https://github.com/python-kasa/python-kasa/pull/206) (@rytilahti)
410
- - Add KP115 fixture [\#202](https://github.com/python-kasa/python-kasa/pull/202) (@rytilahti)
411
- - Perform initial update only using the sysinfo query [\#199](https://github.com/python-kasa/python-kasa/pull/199) (@rytilahti)
412
- - Add real kasa KL430\(UN\) device dump [\#192](https://github.com/python-kasa/python-kasa/pull/192) (@iprodanovbg)
413
- - Use less strict matcher for kl430 color temperature [\#190](https://github.com/python-kasa/python-kasa/pull/190) (@rytilahti)
414
- - Add EP10\(US\) 1.0 1.0.2 fixture [\#174](https://github.com/python-kasa/python-kasa/pull/174) (@nbrew)
415
- - Add a note about using the discovery target parameter [\#168](https://github.com/python-kasa/python-kasa/pull/168) (@leandroreox)
416
-
417
- ## [0.4.0.dev3](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev3) (2021-06-16)
418
-
419
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev2...0.4.0.dev3)
420
-
421
- **Fixed bugs:**
422
-
423
- - `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)
424
- - `Unknown color temperature range` error when attempting to query KL125 bulb state [\#141](https://github.com/python-kasa/python-kasa/issues/141)
425
- - Simplify discovery query, refactor dump-devinfo [\#147](https://github.com/python-kasa/python-kasa/pull/147) (@rytilahti)
426
- - Return None instead of raising an exception on missing, valid emeter keys [\#146](https://github.com/python-kasa/python-kasa/pull/146) (@rytilahti)
427
-
428
- **Documentation updates:**
429
-
430
- - Add ability to control individual sockets on KP400 [\#121](https://github.com/python-kasa/python-kasa/issues/121)
431
- - Improve cli documentation for bulbs and power strips [\#123](https://github.com/python-kasa/python-kasa/pull/123) (@rytilahti)
432
-
433
- **Closed issues:**
434
-
435
575
  - After installing, command `kasa` not found [\#165](https://github.com/python-kasa/python-kasa/issues/165)
576
+ - Can't command or query HS200 v5 switch [\#161](https://github.com/python-kasa/python-kasa/issues/161)
436
577
  - 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)
437
578
  - Cant get smart strip children to work [\#144](https://github.com/python-kasa/python-kasa/issues/144)
438
579
  - `kasa --host 192.168.1.67 wifi join <ssid>` does not change network [\#139](https://github.com/python-kasa/python-kasa/issues/139)
@@ -440,40 +581,11 @@ Pull requests improving the functionality of modules as well as adding better in
440
581
  - 'kasa wifi scan' raises RuntimeError [\#127](https://github.com/python-kasa/python-kasa/issues/127)
441
582
  - Runtime Error when I execute Kasa emeter command [\#124](https://github.com/python-kasa/python-kasa/issues/124)
442
583
  - HS105\(US\) HW 5.0/SW 1.0.2 Not Working [\#119](https://github.com/python-kasa/python-kasa/issues/119)
584
+ - TPLINK HS100 firmware 4.1 no longer has TCP 9999 available [\#114](https://github.com/python-kasa/python-kasa/issues/114)
443
585
  - HS110\(UK\) not discoverable [\#113](https://github.com/python-kasa/python-kasa/issues/113)
444
586
  - Stopping Kasa SmartDevices from phoning home [\#111](https://github.com/python-kasa/python-kasa/issues/111)
445
- - TP Link Dimmer switch \(HS220\) hardware version 2.0 not being discovered [\#105](https://github.com/python-kasa/python-kasa/issues/105)
446
- - Support for P100 Smart Plug [\#83](https://github.com/python-kasa/python-kasa/issues/83)
447
-
448
- **Merged pull requests:**
449
-
450
- - Prepare 0.4.0.dev3 [\#172](https://github.com/python-kasa/python-kasa/pull/172) (@rytilahti)
451
- - Simplify mac address handling [\#162](https://github.com/python-kasa/python-kasa/pull/162) (@rytilahti)
452
- - 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)
453
- - Add KL125 bulb definition [\#143](https://github.com/python-kasa/python-kasa/pull/143) (@mdarnol)
454
- - README.md: Add link to MQTT interface for python-kasa [\#140](https://github.com/python-kasa/python-kasa/pull/140) (@flavio-fernandes)
455
- - Fix documentation on Smart strips [\#136](https://github.com/python-kasa/python-kasa/pull/136) (@flavio-fernandes)
456
- - add tapo link, fix tplink-smarthome-simulator link [\#133](https://github.com/python-kasa/python-kasa/pull/133) (@rytilahti)
457
- - Leverage data from UDP discovery to initialize device structure [\#132](https://github.com/python-kasa/python-kasa/pull/132) (@dlee1j1)
458
- - Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
459
-
460
- ## [0.4.0.dev2](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev2) (2020-11-21)
461
-
462
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev1...0.4.0.dev2)
463
-
464
- **Implemented enhancements:**
465
-
466
- - 'Interface' parameter added to discovery process [\#79](https://github.com/python-kasa/python-kasa/pull/79) (@dmitryelj)
467
-
468
- **Fixed bugs:**
469
-
470
- - Simplify device class detection for discovery, fix hardcoded timeout [\#112](https://github.com/python-kasa/python-kasa/pull/112) (@rytilahti)
471
- - Update cli.py to addresss crash on year/month calls and improve output formatting [\#103](https://github.com/python-kasa/python-kasa/pull/103) (@BuongiornoTexas)
472
-
473
- **Closed issues:**
474
-
475
- - TPLINK HS100 firmware 4.1 no longer has TCP 9999 available [\#114](https://github.com/python-kasa/python-kasa/issues/114)
476
587
  - 7.1.2 Update to asyncclick breaks github install of python-kasa [\#106](https://github.com/python-kasa/python-kasa/issues/106)
588
+ - TP Link Dimmer switch \(HS220\) hardware version 2.0 not being discovered [\#105](https://github.com/python-kasa/python-kasa/issues/105)
477
589
  - cli emeter year and month functions fail [\#102](https://github.com/python-kasa/python-kasa/issues/102)
478
590
  - how to know the duration for which the plug was ON? [\#99](https://github.com/python-kasa/python-kasa/issues/99)
479
591
  - problem controlling the smartplug through a controller [\#98](https://github.com/python-kasa/python-kasa/issues/98)
@@ -482,30 +594,9 @@ Pull requests improving the functionality of modules as well as adding better in
482
594
  - issue with installation [\#95](https://github.com/python-kasa/python-kasa/issues/95)
483
595
  - Running via Crontab [\#92](https://github.com/python-kasa/python-kasa/issues/92)
484
596
  - Issues with setup [\#91](https://github.com/python-kasa/python-kasa/issues/91)
485
-
486
- **Merged pull requests:**
487
-
488
- - Release 0.4.0.dev2 [\#118](https://github.com/python-kasa/python-kasa/pull/118) (@rytilahti)
489
- - Pin dependencies on major versions, add poetry.lock [\#94](https://github.com/python-kasa/python-kasa/pull/94) (@rytilahti)
490
-
491
- ## [0.4.0.dev1](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev1) (2020-07-28)
492
-
493
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.dev0...0.4.0.dev1)
494
-
495
- **Implemented enhancements:**
496
-
497
- - KL430 support [\#67](https://github.com/python-kasa/python-kasa/issues/67)
498
- - Improve retry logic for discovery, messaging \(was: Handle empty responses\) [\#38](https://github.com/python-kasa/python-kasa/issues/38)
499
- - Add support for lightstrips \(KL430\) [\#74](https://github.com/python-kasa/python-kasa/pull/74) (@rytilahti)
500
-
501
- **Documentation updates:**
502
-
503
- - Improve poetry usage documentation [\#60](https://github.com/python-kasa/python-kasa/issues/60)
504
-
505
- **Closed issues:**
506
-
507
597
  - I don't python... how do I make this executable? [\#88](https://github.com/python-kasa/python-kasa/issues/88)
508
598
  - ImportError: cannot import name 'smartplug' [\#87](https://github.com/python-kasa/python-kasa/issues/87)
599
+ - Support for P100 Smart Plug [\#83](https://github.com/python-kasa/python-kasa/issues/83)
509
600
  - not able to pip install the library [\#82](https://github.com/python-kasa/python-kasa/issues/82)
510
601
  - Discover.discover\(\) add selecting network interface \[pull request\] [\#78](https://github.com/python-kasa/python-kasa/issues/78)
511
602
  - LB100 unable to turn on or off the lights [\#68](https://github.com/python-kasa/python-kasa/issues/68)
@@ -514,6 +605,33 @@ Pull requests improving the functionality of modules as well as adding better in
514
605
 
515
606
  **Merged pull requests:**
516
607
 
608
+ - Release 0.4.0 [\#221](https://github.com/python-kasa/python-kasa/pull/221) (@rytilahti)
609
+ - Add github workflow for pypi publishing [\#220](https://github.com/python-kasa/python-kasa/pull/220) (@rytilahti)
610
+ - Add host information to protocol debug logs [\#219](https://github.com/python-kasa/python-kasa/pull/219) (@rytilahti)
611
+ - Release 0.4.0.dev5 [\#215](https://github.com/python-kasa/python-kasa/pull/215) (@rytilahti)
612
+ - Add KL130 fixture, initial lightstrip tests [\#214](https://github.com/python-kasa/python-kasa/pull/214) (@rytilahti)
613
+ - Cleanup discovery & add tests [\#212](https://github.com/python-kasa/python-kasa/pull/212) (@rytilahti)
614
+ - Release 0.4.0.dev4 [\#210](https://github.com/python-kasa/python-kasa/pull/210) (@rytilahti)
615
+ - More CI fixes [\#208](https://github.com/python-kasa/python-kasa/pull/208) (@rytilahti)
616
+ - Fix CI dep installation [\#207](https://github.com/python-kasa/python-kasa/pull/207) (@rytilahti)
617
+ - Use github actions instead of azure pipelines [\#206](https://github.com/python-kasa/python-kasa/pull/206) (@rytilahti)
618
+ - Add KP115 fixture [\#202](https://github.com/python-kasa/python-kasa/pull/202) (@rytilahti)
619
+ - Perform initial update only using the sysinfo query [\#199](https://github.com/python-kasa/python-kasa/pull/199) (@rytilahti)
620
+ - Add real kasa KL430\(UN\) device dump [\#192](https://github.com/python-kasa/python-kasa/pull/192) (@iprodanovbg)
621
+ - Use less strict matcher for kl430 color temperature [\#190](https://github.com/python-kasa/python-kasa/pull/190) (@rytilahti)
622
+ - Add EP10\(US\) 1.0 1.0.2 fixture [\#174](https://github.com/python-kasa/python-kasa/pull/174) (@nbrew)
623
+ - Prepare 0.4.0.dev3 [\#172](https://github.com/python-kasa/python-kasa/pull/172) (@rytilahti)
624
+ - Add a note about using the discovery target parameter [\#168](https://github.com/python-kasa/python-kasa/pull/168) (@leandroreox)
625
+ - Simplify mac address handling [\#162](https://github.com/python-kasa/python-kasa/pull/162) (@rytilahti)
626
+ - 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)
627
+ - Add KL125 bulb definition [\#143](https://github.com/python-kasa/python-kasa/pull/143) (@mdarnol)
628
+ - README.md: Add link to MQTT interface for python-kasa [\#140](https://github.com/python-kasa/python-kasa/pull/140) (@flavio-fernandes)
629
+ - Fix documentation on Smart strips [\#136](https://github.com/python-kasa/python-kasa/pull/136) (@flavio-fernandes)
630
+ - add tapo link, fix tplink-smarthome-simulator link [\#133](https://github.com/python-kasa/python-kasa/pull/133) (@rytilahti)
631
+ - Leverage data from UDP discovery to initialize device structure [\#132](https://github.com/python-kasa/python-kasa/pull/132) (@dlee1j1)
632
+ - Release 0.4.0.dev2 [\#118](https://github.com/python-kasa/python-kasa/pull/118) (@rytilahti)
633
+ - Add HS220 hw 2.0 fixture [\#107](https://github.com/python-kasa/python-kasa/pull/107) (@appleguru)
634
+ - Pin dependencies on major versions, add poetry.lock [\#94](https://github.com/python-kasa/python-kasa/pull/94) (@rytilahti)
517
635
  - Release 0.4.0.dev1 [\#93](https://github.com/python-kasa/python-kasa/pull/93) (@rytilahti)
518
636
  - add a small example script to show library usage [\#90](https://github.com/python-kasa/python-kasa/pull/90) (@rytilahti)
519
637
  - add .readthedocs.yml required for poetry builds [\#89](https://github.com/python-kasa/python-kasa/pull/89) (@rytilahti)
@@ -526,10 +644,6 @@ Pull requests improving the functionality of modules as well as adding better in
526
644
  - Bulbs: allow specifying transition for state changes [\#70](https://github.com/python-kasa/python-kasa/pull/70) (@rytilahti)
527
645
  - Add transition support for SmartDimmer [\#69](https://github.com/python-kasa/python-kasa/pull/69) (@connorproctor)
528
646
 
529
- ## [0.4.0.dev0](https://github.com/python-kasa/python-kasa/tree/0.4.0.dev0) (2020-05-27)
530
-
531
- [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.4.0.pre0...0.4.0.dev0)
532
-
533
647
  ## [0.4.0.pre0](https://github.com/python-kasa/python-kasa/tree/0.4.0.pre0) (2020-05-27)
534
648
 
535
649
  [Full Changelog](https://github.com/python-kasa/python-kasa/compare/0.3.5...0.4.0.pre0)